public static interface AndroidDebugBridge.IDeviceChangeListener
IDevice addition, deletion, and changes.| Modifier and Type | Method and Description |
|---|---|
void |
deviceChanged(IDevice device,
int changeMask)
Sent when a device data changed, or when clients are started/terminated on the device.
|
void |
deviceConnected(IDevice device)
Sent when the a device is connected to the
AndroidDebugBridge. |
void |
deviceDisconnected(IDevice device)
Sent when the a device is connected to the
AndroidDebugBridge. |
void deviceConnected(@NonNull
IDevice device)
AndroidDebugBridge.
This is sent from a non UI thread.
device - the new device.void deviceDisconnected(@NonNull
IDevice device)
AndroidDebugBridge.
This is sent from a non UI thread.
device - the new device.void deviceChanged(@NonNull
IDevice device,
int changeMask)
This is sent from a non UI thread.
device - the device that was updated.changeMask - the mask describing what changed. It can contain any of the following
values: IDevice.CHANGE_BUILD_INFO, IDevice.CHANGE_STATE,
IDevice.CHANGE_CLIENT_LIST