DeviceEntry
data class DeviceEntry(val serial: String, val state: DeviceState, val clientConnectionId: String?, val quarantineReason: String?, val properties: DeviceProperties? = null, val retryOnAttach: Boolean = false, val underInspection: Boolean = false)(source)
One device ADB lists (TapClient.devices).
Constructors
Link copied to clipboard
constructor(serial: String, state: DeviceState, clientConnectionId: String?, quarantineReason: String?, properties: DeviceProperties? = null, retryOnAttach: Boolean = false, underInspection: Boolean = false)
Properties
Link copied to clipboard
The holding client connection when this daemon holds the device; null otherwise.
Link copied to clipboard
What the device is; null for a device the server could not read (offline, unauthorized).
Link copied to clipboard
Why the device is DeviceState.QUARANTINED.
Link copied to clipboard
DeviceState.QUARANTINED only because device settings a session changed did not read back when it put them back: attaching writes them again first, and goes ahead once they do.
Link copied to clipboard
Link copied to clipboard
DeviceState.QUARANTINED and attached by someone inspecting it (DeviceOptions.inspectQuarantined).