StatusMonitor

@objcMembers
public class StatusMonitor : NSObject

Provides access to status information from the remote system.

  • Singleton to be able to re-use the Status Monitor class.

    Declaration

    Swift

    public static let shared: StatusMonitor
  • Gets the Service status for the supplied paypoint ID.

    Declaration

    Swift

    public func getServiceStatus(paypointId: String? = nil, handler: StatusMonitorResponseHandler?)

    Parameters

    paypointId

    Identifier for the paypoint on which the action should or has been performed on.

    handler

    a StatusMonitorResponseHandler callback that will be executed for the lifetime of the connection to the remote system to deliver events.

  • Gets the current device status for the supplied paypoint ID.

    Declaration

    Swift

    public func getDeviceStatus(paypointId: String? = nil, handler: StatusMonitorResponseHandler?)

    Parameters

    paypointId

    Identifier for the paypoint on which the action should or has been performed on.

    handler

    a StatusMonitorResponseHandler callback that will be executed for the lifetime of the connection to the remote system to deliver events.