FeaturesHardware

public class FeaturesHardware : CustomStringConvertible

Hardware features supported by the terminal. Immutable class.

  • Create hardware features.

    Declaration

    Swift

    public init(cardholderDisplay: Bool,
                merchantDisplay: Bool,
                printer: Bool,
                displayBrightness: Bool,
                displayContrast: Bool,
                alertTones: Bool,
                keypadTones: Bool,
                powerManagement: Bool,
                supportedLanguages: [String])
  • The device has a cardholder display.

    Declaration

    Swift

    public private(set) var cardholderDisplay: Bool { get }
  • The device has a merchant display.

    Declaration

    Swift

    public private(set) var merchantDisplay: Bool { get }
  • The device has a printer.

    Declaration

    Swift

    public private(set) var printer: Bool { get }
  • The display brightness can be set.

    Declaration

    Swift

    public private(set) var displayBrightness: Bool { get }
  • The display contrast can be set.

    Declaration

    Swift

    public private(set) var displayContrast: Bool { get }
  • The alert tones can be set.

    Declaration

    Swift

    public private(set) var alertTones: Bool { get }
  • The keypad tones can be set.

    Declaration

    Swift

    public private(set) var keypadTones: Bool { get }
  • Power management supported by hardware.

    Declaration

    Swift

    public private(set) var powerManagement: Bool { get }
  • Supported languages.

    Declaration

    Swift

    public private(set) var supportedLanguages: [String] { get }
  • Textual representation.

    Declaration

    Swift

    public var description: String { get }