public interface NADeviceStatusListener
Modifier and Type | Method and Description |
---|---|
void |
onDeviceUpdated(NADevice device)
Called when a device is updated while in range, for example if the
signal strength changes.
|
void |
onInRange(NADevice device)
Called when a device comes into range for the first time.
|
void |
onOutOfRange(NADevice device)
Called when a device goes out of range for the first time.
|
void |
onUnknown(NADevice device)
Called when a device's status becomes unknown, usually due to a radio being disabled.
|
void onInRange(NADevice device)
device
- the device that came into range.void onDeviceUpdated(NADevice device)
device
- the device which is updated.void onOutOfRange(NADevice device)
device
- the device that went out of range.void onUnknown(NADevice device)
device
- the device who's status became unknown.