adb

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Click

func Click(X, Y string)

Click 点击某一像素点

func ClickBack

func ClickBack()

ClickHome 点击返回键

func ClickHome

func ClickHome()

ClickHome 点击hone键

func ClickKeyCode

func ClickKeyCode(code string)

ClickKeyCode 点击android对应的keycode

func CloseApp

func CloseApp(packageName string)

CloseApp 关闭

func Command

func Command(arg ...string)

Command 自定义参数

func InputKeyEvent

func InputKeyEvent(text string)

InputKeyEvent 输入KeyEvent

func InputText

func InputText(text string)

InputText 输入文本

func InputTextByADBKeyBoard

func InputTextByADBKeyBoard(text string)

InputTextByADBKeyBoard 输入文本

func RunApp

func RunApp(startAppPath string)

RunApp 运行App

func Start

func Start()

func Swipe

func Swipe(StartX, StartY, EndX, EndY string)

Swipe 滑动

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL