connect

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

Connects to a remote device using given address

Parameters

onConnected

Callback to when connection attempt is finished which takes the AndroidDevice, this may be null if connection failed