PrivatePreferences

data class PrivatePreferences(var client: Client, ffiClient: FfiXmtpClient)

Constructors

Link copied to clipboard
constructor(client: Client, ffiClient: FfiXmtpClient)

Functions

Link copied to clipboard
suspend fun conversationState(groupId: String): ConsentState
Link copied to clipboard
suspend fun inboxIdState(inboxId: InboxId): ConsentState
Link copied to clipboard
suspend fun setConsentState(entries: List<ConsentRecord>)
Link copied to clipboard
suspend fun streamConsent(onClose: () -> Unit? = null): Flow<ConsentRecord>
Link copied to clipboard
suspend fun streamPreferenceUpdates(onClose: () -> Unit? = null): Flow<PreferenceType>
Link copied to clipboard
suspend fun sync()
Link copied to clipboard
suspend fun syncConsent()

Properties

Link copied to clipboard