Package com.cognex.cmbsdk.readerdevice
Interface ReaderDevice.OnDeviceBatteryLevelListener
- Enclosing class:
- ReaderDevice
public static interface ReaderDevice.OnDeviceBatteryLevelListener
Interface definition for device battery level callback
-
Method Summary
Modifier and TypeMethodDescriptionvoidonDeviceBatteryLevelReceived(ReaderDevice reader, int batteryLevel, Throwable error) Called as battery level information is available from the device
-
Method Details
-
onDeviceBatteryLevelReceived
Called as battery level information is available from the device- Parameters:
reader- The callerReaderDeviceinstancebatteryLevel- The battery level in percentage (0-100)error- The underlying cause of the failure or null if there was no error
-