public static interface ReaderDevice.OnDeviceBatteryLevelListener
| Modifier and Type | Method and Description |
|---|---|
void |
onDeviceBatteryLevelReceived(ReaderDevice reader,
int batteryLevel,
java.lang.Throwable error)
Called as battery level information is available from the device
|
void onDeviceBatteryLevelReceived(ReaderDevice reader, int batteryLevel, java.lang.Throwable error)
reader - The caller ReaderDevice instancebatteryLevel - The battery level in percentage (0-100)error - The underlying cause of the failure or null if there was no error