DeviceOptions

data class DeviceOptions(val skipDriverInstall: Boolean = false, val waitForDevice: Duration = Duration.ZERO)(source)

Device-attachment options. The driver is always the daemon's (bundled, or the APKs given to tap serve --driver-apk X --driver-test-apk Y); skipDriverInstall only skips reinstalling it.

Constructors

Link copied to clipboard
constructor(skipDriverInstall: Boolean = false, waitForDevice: Duration = Duration.ZERO)

Properties

Link copied to clipboard

Skip installing the daemon's driver: the device already has the right one.

Link copied to clipboard

How long to wait for a device another session holds before failing; zero fails at once.