Example #1
0
 public static void Key(string deviceID, ADBKeyEvent key)
 {
     string cmdCommand = string.Format(KEY_DEVICES, deviceID, key);
     string result     = ExecuteCMD(cmdCommand);
 }
Example #2
0
 public void Key(ADBKeyEvent key) => AdbCommand($"shell input keyevent {(int)key}");
Example #3
0
 public static void Key(string deviceID, ADBKeyEvent key)
 {
     string str2 = ExecuteCMD(string.Format(KEY_DEVICES, deviceID, key));
 }