PrivatePreferences
public actor PrivatePreferences
Provides access to contact bundles.
-
setConsentState(entries:Asynchronous) Undocumented
Declaration
Swift
public func setConsentState(entries: [ConsentRecord]) async throws -
conversationState(conversationId:Asynchronous) Undocumented
Declaration
Swift
public func conversationState(conversationId: String) async throws -> ConsentState -
inboxIdState(inboxId:Asynchronous) Undocumented
Declaration
Swift
public func inboxIdState(inboxId: InboxId) async throws -> ConsentState -
sync()AsynchronousUndocumented
Declaration
Swift
public func sync() async throws -
syncConsent()AsynchronousUndocumented
Declaration
Swift
public func syncConsent() async throws -
Undocumented
Declaration
Swift
public func streamConsent(onClose: (() -> Void)? = nil) -> AsyncThrowingStream<ConsentRecord, Error> -
Undocumented
Declaration
Swift
public func streamPreferenceUpdates(onClose: (() -> Void)? = nil) -> AsyncThrowingStream<PreferenceType, Error>
PrivatePreferences Actor Reference