Skip to main content

移动

在安卓设备中,模拟上下左右移动,类似游戏当中的 WASD 功能。

AdbMove

子流程

不支持

运行参数

  • 设备

设备号,如果当前连接的只有一个设备,该值可为空。

  • 起始位置

在模拟器屏幕当中,按下的位置,例如 移动盘的位置,

  • 方向

参考: Direction

  • 时间

移动时间,单位

输出

资源

示例:https://github.com/shelllet/WinUi/blob/main/android/move.simple