ABCCardTerminalMonitorProtocol

protocol ABCCardTerminalMonitorProtocol

Delegate protocol for delegate classes to implement

  • Call back function definition to implement by the delegate. Called once when a terminal has hit the battery threshold

    Declaration

    Swift

    func onBatteryThresholdReached(terminalName: String, batteryThreshold: UInt8)

    Parameters

    terminalName

    Name of card terminal hitting the threshold

    batteryThreshold

    Battery threshold reached

  • Call back function definition to implement by the delegate. Called once when a terminal has disconnected

    Declaration

    Swift

    func onDisconnected(terminalName: String)

    Parameters

    terminalName

    Name of card terminal that has disconnected