Constructors

Link copied to clipboard
constructor(pointer: Pointer)
constructor(noPointer: NoPointer)

This constructor can be used to instantiate a fake object. Only used for tests. Any attempt to actually use an object constructed this way will fail as there is no connected Rust object.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open suspend override fun createDm(accountAddress: String): FfiConversation
Link copied to clipboard
open suspend override fun createDmWithInboxId(inboxId: String): FfiConversation
Link copied to clipboard
open suspend override fun createGroup(accountAddresses: List<String>, opts: FfiCreateGroupOptions): FfiConversation
Link copied to clipboard
open suspend override fun createGroupWithInboxIds(inboxIds: List<String>, opts: FfiCreateGroupOptions): FfiConversation
Link copied to clipboard
open override fun destroy()
Link copied to clipboard
open override fun getHmacKeys(): Map<ByteArray, List<FfiHmacKey>>
Link copied to clipboard
open override fun getSyncGroup(): FfiConversation
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun processStreamedWelcomeMessage(envelopeBytes: ByteArray): FfiConversation
Link copied to clipboard
open suspend override fun stream(callback: FfiConversationCallback): FfiStreamCloser
Link copied to clipboard
open suspend override fun streamAllDmMessages(messageCallback: FfiMessageCallback): FfiStreamCloser
Link copied to clipboard
open suspend override fun streamAllGroupMessages(messageCallback: FfiMessageCallback): FfiStreamCloser
Link copied to clipboard
open suspend override fun streamAllMessages(messageCallback: FfiMessageCallback): FfiStreamCloser
Link copied to clipboard
open suspend override fun streamConsent(callback: FfiConsentCallback): FfiStreamCloser

Get notified when there is a new consent update either locally or is synced from another device allowing the user to re-render the new state appropriately

Link copied to clipboard
open suspend override fun streamDms(callback: FfiConversationCallback): FfiStreamCloser
Link copied to clipboard
open suspend override fun streamGroups(callback: FfiConversationCallback): FfiStreamCloser
Link copied to clipboard
open suspend override fun streamMessages(messageCallback: FfiMessageCallback, conversationType: FfiConversationType?): FfiStreamCloser
Link copied to clipboard
open suspend override fun streamPreferences(callback: FfiPreferenceCallback): FfiStreamCloser

Get notified when a preference changes either locally or is synced from another device allowing the user to re-render the new state appropriately.

Link copied to clipboard
open suspend override fun sync()
Link copied to clipboard
open suspend override fun syncAllConversations(consentStates: List<FfiConsentState>?): UInt
Link copied to clipboard
fun uniffiClonePointer(): Pointer