Package com.creditcall.chipdnamobile
Class DeviceStatus
java.lang.Object
com.creditcall.chipdnamobile.DeviceStatus
Created by Shingai on 03/08/2017.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIf filled the error why the device is currently unavailable.intBattery charge percentage of the currently connected device.Charging status of the currently connected device.Date and time for the last battery charging status update of the currently connected device.Date and time format used for getBatteryChargingStatusUpdateDateTime().NSDictionary containing key value pairs with information about the availablilityError.Firmware name of the currently connected device.Firmware version of the currently connected device.Kernel version of the connected PIN pad.getMake()Make of the currently connected device.getModel()Model of the currently connected device.getName()PIN pad name of currently connected device.Operating system version of the connected PIN pad.intRaw Battery charge percentage of the currently connected device.Revision of the currently connected PIN pad.Serial number of currently connected PIN pad.The current connection status of the device.voidsetKernelsHash(String kernelsHash) voidsetOsVersion(String osVersion)
-
Constructor Details
-
DeviceStatus
public DeviceStatus()
-
-
Method Details
-
getStatus
The current connection status of the device. -
getAvailabilityError
If filled the error why the device is currently unavailable. -
getErrorInformation
NSDictionary containing key value pairs with information about the availablilityError. -
getName
PIN pad name of currently connected device. -
getRawBatteryChargePercentage
public int getRawBatteryChargePercentage()Raw Battery charge percentage of the currently connected device. -
getBatteryChargePercentage
public int getBatteryChargePercentage()Battery charge percentage of the currently connected device. -
getBatteryChargingStatus
Charging status of the currently connected device. Returns "Not Charging", "Charging" or "Fully Charged". -
getBatteryChargingStatusUpdateDateTime
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 getBatteryChargingStatusUpdateDateTimeFormat(). -
getBatteryChargingStatusUpdateDateTimeFormat
Date and time format used for getBatteryChargingStatusUpdateDateTime(). Returns "dd/MM/yyyy HH:mm:ss". -
getMake
Make of the currently connected device. -
getModel
Model of the currently connected device. -
getFirmwareName
Firmware name of the currently connected device. -
getFirmwareVersion
Firmware version of the currently connected device. -
getSerialNumber
Serial number of currently connected PIN pad. -
getOsVersion
Operating system version of the connected PIN pad. -
setOsVersion
-
getKernelsHash
Kernel version of the connected PIN pad. -
setKernelsHash
-
getRevision
Revision of the currently connected PIN pad.
-