StatusUpdate

public enum StatusUpdate : Equatable

This enum describes updates to the lock during lock, unlock and end rental operations.

  • The lock BLE peripheral is being searched for.

    Declaration

    Swift

    case searching
  • There is a weak signal to the lock BLE peripheral.

    The rssi parameter is provided to indicate the RSSI in dBm.

    Declaration

    Swift

    case weakSignal(rssi: Int)
  • The lock was found and the framework is connecting to it.

    Declaration

    Swift

    case connecting
  • The framework has connected to the lock.

    Declaration

    Swift

    case connected
  • BLE services and characteristics are being read from the lock peripheral.

    Declaration

    Swift

    case readingLockData
  • SDK waits for a period of time to work around an issue where AXA locks sometimes open on their own when they’re closed manually shortly after the connection is established to the lock. This check is only performed before a locking action and only for locks with a specific hardware & software combination.

    Declaration

    Swift

    case postConnectionLockCheck
  • The actual command to open or close the lock is being sent to the lock peripheral.

    Declaration

    Swift

    case sendingCommand
  • Waiting for the user to peform a close action.

    When locking/ending rental, this status indicates that the framework waits for the user to close lock beam.

    Declaration

    Swift

    case waitingForUserAction
  • An additional check is being performed to verify that the lock is in closed state.

    This state update is only emitted while ending the rental.

    Declaration

    Swift

    case extraLockCheck