WePay iOS SDK
7.0.0-prerelease-1
|
Instance Methods | |
(void) | - didGetBatteryLevel: |
(void) | - didFailToGetBatteryLevelwithError: |
- (void WPBatteryLevelDelegate) didFailToGetBatteryLevelwithError: | (NSError *) | error |
Called when we fail to determine the card reader's battery level.
error | The error which caused the failure. |
- (void WPBatteryLevelDelegate) didGetBatteryLevel: | (int) | batteryLevel |
Called when the card reader's battery level is determined.
batteryLevel | The card reader's battery charge level (0-100%). |