Classes
The following classes are available globally.
-
Manages the Seam SDK lifecycle: initialization, activation, credential sync, unlock operations, and cleanup.
Quick Start
try Seam.initialize(clientSessionToken: "token") await Seam.shared.activate()
Use Cases
- Bootstrapping the SDK at app launch (
initialize
+activate
). - Reactively updating UI when
credentials
change. - Performing pull-to-refresh or manual sync via
refresh()
. - Handling unlock flows in Combine pipelines or SwiftUI
.task
modifiers. - Cleaning up resources on logout or account switch with
deactivate()
.
Declaration
Swift
public final class Seam : ObservableObject
- Bootstrapping the SDK at app launch (