Skip to main content

Overview

Manages the Seam SDK lifecycle: initialization, activation, credential sync, unlock operations, and cleanup.

Instance Properties

credentials

A published list of current credentials, automatically synchronized in the background. Subscribe to updates to refresh your UI or business logic.

isActive

A published Boolean indicating whether the SDK is active. Use this to enable or disable UI or logic based on the SDK’s activation state.

Instance Methods

activate()

Starts the SDK to begin credential synchronization and processing.

deactivate(deintegrate:)

Stops the SDK and releases resources, optionally removing device association.
Parameters

refresh()

Requests the latest credential list and updates the published credentials property.

unlock(using:proximity:timeout:)

Unlocks a door or device using the given credential ID.
Parameters

Type Properties

shared

The shared singleton instance of Seam.

Type Methods

initialize(clientSessionToken:)

Sets up the SDK using the provided client session token.
Parameters