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])
  • List of hardware attached to the EFT Terminal.

    Declaration

    Swift

    public private(set) var hardwares: [Hardware]
  • 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]
  • 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]
  • 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]
  • Textual representation.

    Declaration

    Swift

    public var description: String { get }