public interface BatteryLevelHandler
Modifier and Type | Method and Description |
---|---|
void |
onBatteryLevel(int batteryLevel)
Gets called when the card reader's battery level is determined.
|
void |
onBatteryLevelError(Error error)
Gets called when we fail to determine the card reader's battery level.
|
void onBatteryLevel(int batteryLevel)
batteryLevel
- the card reader's battery charge level (0-100%).void onBatteryLevelError(Error error)
error
- the error due to which battery level reading failed.