public interface DeviceStateListener extends GenericListener_Void<DeviceStateListener.StateEvent>
BleDevice.setListener_State(DeviceStateListener)
and/or
BleManager.setListener_DeviceState(DeviceStateListener)
to receive state change events.Modifier and Type | Interface and Description |
---|---|
static class |
DeviceStateListener.StateEvent
Subclass that adds the device field.
|
Modifier and Type | Method and Description |
---|---|
void |
onEvent(DeviceStateListener.StateEvent e) |
void onEvent(DeviceStateListener.StateEvent e)
onEvent
in interface GenericListener_Void<DeviceStateListener.StateEvent>