com.android.ddmlib
Interface AndroidDebugBridge.IDeviceChangeListener

Enclosing class:
AndroidDebugBridge

public static interface AndroidDebugBridge.IDeviceChangeListener

Classes which implement this interface provide methods that deal with IDevice addition, deletion, and changes.


Method Summary
 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.
 

Method Detail

deviceConnected

void deviceConnected(IDevice device)
Sent when the a device is connected to the AndroidDebugBridge.

This is sent from a non UI thread.

Parameters:
device - the new device.

deviceDisconnected

void deviceDisconnected(IDevice device)
Sent when the a device is connected to the AndroidDebugBridge.

This is sent from a non UI thread.

Parameters:
device - the new device.

deviceChanged

void deviceChanged(IDevice device,
                   int changeMask)
Sent when a device data changed, or when clients are started/terminated on the device.

This is sent from a non UI thread.

Parameters:
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