ADB

object ADB

Wrapper for android adb tool, accessing this object downloads android platform tools to %home%/cvauto/android if it doesn't exist

Functions

Link copied to clipboard
fun connect(address: String, onConnected: (AndroidDevice?) -> Unit = {})

Connects to a remote device using given address

Link copied to clipboard
fun execute(vararg args: String): Process

Runs an ADB command

Link copied to clipboard

Get instance of AndroidDevice with the given serial if its online

Link copied to clipboard

Gets instances of AndroidDevice for the devices that are currently connected to adb

Properties

Link copied to clipboard