WePay iOS SDK  7.0.0-prerelease-1
<WPBatteryLevelDelegate > Protocol Reference
Inheritance diagram for <WPBatteryLevelDelegate >:

Instance Methods

(void) - didGetBatteryLevel:
 
(void) - didFailToGetBatteryLevelwithError:
 

Method Documentation

◆ didFailToGetBatteryLevelwithError:()

- (void WPBatteryLevelDelegate) didFailToGetBatteryLevelwithError: (NSError *)  error

Called when we fail to determine the card reader's battery level.

Parameters
errorThe error which caused the failure.

◆ didGetBatteryLevel:()

- (void WPBatteryLevelDelegate) didGetBatteryLevel: (int)  batteryLevel

Called when the card reader's battery level is determined.

Parameters
batteryLevelThe card reader's battery charge level (0-100%).

The documentation for this protocol was generated from the following file: