ReaderAttributes

public protocol ReaderAttributes : Reader

A protocol that documents the attributes of a reader at a given time.

  • The currently measured BLE path loss between the Reader and mobile device

    Declaration

    Swift

    var measuredPathLoss: Double { get }
  • An enum indicating the distance the reader is calculated from the phone

    Declaration

    Swift

    var distance: ReaderDistance { get }
  • Auto connect path loss is the value at which BLE auto-connect will apply.

    When the measured path loss is less than the configured auto connect path loss, then the SDK will start an automatically requesting access to the reader.

    Declaration

    Swift

    var autoConnectPathLoss: Double { get }
  • Manual connect path loss is the value at which the UI should show and hide readers for connecting via manual connect.

    When the measured path loss exceeds configured the manual connect path loss, then the SDK will start an expiry process internally for the reader. Once the reader expires it enters the unavailable state.

    Declaration

    Swift

    var manualConnectPathLoss: Double { get }
  • A boolean indicating if manual connect is available on this reader

    Declaration

    Swift

    var isBleManualConnectEnabled: Bool { get }
  • A boolean indicating if automatic connect is available on this reader

    Declaration

    Swift

    var isBleAutoConnectEnabled: Bool { get }
  • A boolean indicating if the reader will require a second factor on connection

    Declaration

    Swift

    var isSecondFactorRequired: Bool { get }
  • A boolean indicating if BLE actions are available to use on this reader

    Declaration

    Swift

    var isBleActionsEnabled: Bool { get }