|
ChipDna Mobile
|
This class represents the current status of a device connected to the SDK. More...
#import <DeviceStatus.h>
Inherits NSObject.
Class Methods | |
| (DeviceStatusEnum) | + getDeviceStatusEnum: |
| (NSString *) | + getDeviceStatusString: |
Properties | |
| DeviceStatusEnum | deviceStatus |
| NSString * | availablityError |
| NSDictionary * | errorInformation |
| NSString * | name |
| NSString * | make |
| NSString * | model |
| NSString * | firmwareName |
| NSString * | firmwareVersion |
| NSString * | serialNumber |
| NSString * | pinPadRevision |
| NSString * | pinPadOsVersion |
| NSString * | pinPadKernelVersion |
| NSInteger | batteryChargePercentage |
| NSInteger | rawBatteryChargePercentage |
| NSString * | batteryChargingStatus |
| NSString * | batteryChargingStatusUpdateDateTime |
| NSString * | batteryChargingStatusUpdateDateTimeFormat |
This class represents the current status of a device connected to the SDK.
| + (DeviceStatusEnum) getDeviceStatusEnum: | (NSString *) | deviceStatusStr |
Convert string constant into DeviceStatusEnum.
| + (NSString *) getDeviceStatusString: | (DeviceStatusEnum) | deviceStatusEnum |
Convert DeviceStatusEnum into string constant.
|
readnonatomicstrong |
If filled the error why the device is currently unavailable.
|
readnonatomicassign |
Battery charge percentage of the currently connected device.
|
readnonatomicstrong |
Charging status of the currently connected device. Returns "Not Charging", "Charging" or "Fully Charged".
|
readnonatomicstrong |
Date and time for the last battery charging status update of the currently connected device. Returned using the local date, time, and time zone of the mobile device. Format specified by batteryChargingStatusUpdateDateTimeFormat.
|
readnonatomicstrong |
Date and time format used for batteryChargingStatusUpdateDateTime. Returns "dd/MM/yyyy HH:mm:ss".
|
readnonatomicassign |
The current connection status of the device.
|
readnonatomicstrong |
NSDictionary containing key value pairs with information about the availablilityError.
|
readnonatomicstrong |
Firmware name of the currently connected device.
|
readnonatomicstrong |
Firmware version of the currently connected device.
|
readnonatomicstrong |
Make of the currently connected device.
|
readnonatomicstrong |
Model of the currently connected device.
|
readnonatomicstrong |
PIN pad name of currently connected device.
|
readnonatomicstrong |
Kernel version of the connected PIN pad.
|
readnonatomicstrong |
Operating system version of the connected PIN pad.
|
readnonatomicstrong |
Revision of currently connected PIN pad.
|
readnonatomicassign |
Raw Battery charge percentage of the currently connected device,
|
readnonatomicstrong |
Serial number of currently connected PIN pad.