Package com.six.timapi
Class HardwareInformationResponse
- java.lang.Object
-
- com.six.timapi.HardwareInformationResponse
-
public class HardwareInformationResponse extends Object
Contains the result of calling theTerminal.hardwareInformation()
orTerminal.hardwareInformationAsync()
. Immutable class.
-
-
Constructor Summary
Constructors Constructor Description HardwareInformationResponse(List<Hardware> hardwares, Map<KernelType,String> kernelVersions, Map<SettingType,String> settings, Map<String,String> statistics, int batteryLevel, boolean batteryCharging)
Create hardware information response.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBatteryLevel()
Charging level of the battery as a percentage value of the total charge.List<Hardware>
getHardwares()
List of hardware attached to the EFT Terminal.Map<KernelType,String>
getKernelVersions()
Kernel versions supported by the EFT Terminal.Map<SettingType,String>
getSettings()
Settings supported by the EFT Terminal.Map<String,String>
getStatistics()
Hardware statistics.boolean
isBatteryCharging()
Indicates whether the batterie is being charged i.e.String
toString()
String representation.
-
-
-
Method Detail
-
getKernelVersions
public Map<KernelType,String> getKernelVersions()
Kernel versions supported by the EFT Terminal. For each kernel type the string version is stored.
-
getSettings
public Map<SettingType,String> getSettings()
Settings supported by the EFT Terminal. For each setting type the setting value is stored as string.
-
getStatistics
public Map<String,String> getStatistics()
Hardware statistics. For each statistic type (key) the statistics are stored as string value. Available only ifGuides.UNATTENDED
guide is enabled.
-
getBatteryLevel
public int getBatteryLevel()
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.
-
isBatteryCharging
public boolean isBatteryCharging()
Indicates whether the batterie is being charged i.e. the device is plugged in. true: Plugged in false: Not plugged in
-
-