SeamUnlockEvent

public enum SeamUnlockEvent

Emits stages of an unlock operation for UI reactions on connection, success, timeout, or failure.

  • Example:

    let stream = try SeamSDKManager.shared.unlock(using: credentialId)
    stream.sink { event in
      // handle events
    }
    

See also

SeamSDKManager.unlock(using:timeout:)

  • Unlock operation has started.

    Declaration

    Swift

    case launched
  • Connection to lock hardware was successful.

    Declaration

    Swift

    case connected
  • Access was granted by the lock.

    Declaration

    Swift

    case grantedAccess
  • Unlock operation timed out without success.

    Declaration

    Swift

    case timedOut
  • Unlock operation failed to connect.

    Declaration

    Swift

    case connectionFailed(debugDescription: String?)

    Parameters

    debugDescription

    Optional debug message providing failure details.