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 createGroup(accountAddresses: List<String>, opts: FfiCreateGroupOptions): FfiConversation
Link copied to clipboard
open override fun destroy()
Link copied to clipboard
open suspend override fun list(opts: FfiListConversationsOptions): List<FfiConversation>
Link copied to clipboard
open suspend override fun listDms(opts: FfiListConversationsOptions): List<FfiConversation>
Link copied to clipboard
open suspend override fun listGroups(opts: FfiListConversationsOptions): List<FfiConversation>
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 streamDms(callback: FfiConversationCallback): FfiStreamCloser
Link copied to clipboard
open suspend override fun streamGroups(callback: FfiConversationCallback): FfiStreamCloser
Link copied to clipboard
open suspend override fun sync()
Link copied to clipboard
open suspend override fun syncAllConversations(): UInt
Link copied to clipboard
fun uniffiClonePointer(): Pointer