Interim hand-authored reference. This page is authored from the SeamSDK public Swift sources. See the reference overview for context.
Overview
SeamUnlockProximity is a public enum that defines the required physical proximity for an unlock attempt. It is used as an input to Seam.unlock(using:proximity:timeout:) and as the element type of SeamCredential.supportedUnlockProximities.
Cases
| Case | Description |
|---|---|
touch | Requires the user’s mobile device to be physically touching the lock hardware or reader. |
nearby | Requires the user to be within a few meters of the lock or reader (Bluetooth range). |
remote | No proximity requirement; the operation may be performed via network or relay. |
Usage
Selecting proximity at unlock time
Checking what a credential supports
SeamCredential.supportedUnlockProximities, Seam.unlock(using:proximity:timeout:)
