HardwareInformationResponse
public class HardwareInformationResponse : CustomStringConvertible
Contains the result of calling the {@link Terminal#hardwareInformation} or {@link Terminal#hardwareInformationAsync}. Immutable class.
-
Create hardware information response.
Declaration
Swift
public init(hardwares: [Hardware], kernelVersions: [CKernelType: String], settings: [CSettingType: String], statistics: [String: String], batteryLevel: Int, batteryCharging: Bool)
-
List of hardware attached to the EFT Terminal.
Declaration
Swift
public private(set) var hardwares: [Hardware] { get }
-
Kernel versions supported by the EFT Terminal. For each kernel type the string version is stored.
Declaration
Swift
public private(set) var kernelVersions: [CKernelType : String] { get }
-
Settings supported by the EFT Terminal. For each setting type the setting value is stored as string.
Declaration
Swift
public private(set) var settings: [CSettingType : String] { get }
-
Hardware statistics. For each statistic type (key) the statistics are stored as string value.
Available only if {@link com.six.timapi.constants.Guides#UNATTENDED} guide is enabled.
Declaration
Swift
public private(set) var statistics: [String : String] { get }
-
Charging level of the battery as a percentage value of the total charge. 0% is defined as the amount of charge where the device performs an automatic shutdown. 100% is a full charge.
Declaration
Swift
public private(set) var batteryLevel: Int { get }
-
Indicates whether the batterie is being charged i.e. the device is plugged in. true: Plugged in false: Not plugged in
Declaration
Swift
public private(set) var batteryCharging: Bool { get }
-
Textual representation.
Declaration
Swift
public var description: String { get }