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 suspend override fun addressesFromInboxId(refreshFromNetwork: Boolean, inboxIds: List<String>): List<FfiInboxState>
Link copied to clipboard
open suspend override fun addWallet(existingWalletAddress: String, newWalletAddress: String): FfiSignatureRequest

Adds an identity - really a wallet address - to the existing client

Link copied to clipboard
open suspend override fun applySignatureRequest(signatureRequest: FfiSignatureRequest)
Link copied to clipboard
open suspend override fun canMessage(accountAddresses: List<String>): Map<String, Boolean>
Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun conversation(conversationId: ByteArray): FfiConversation
Link copied to clipboard
open override fun conversations(): FfiConversations
Link copied to clipboard
open suspend override fun dbReconnect()
Link copied to clipboard
open override fun destroy()
Link copied to clipboard
open override fun dmConversation(targetInboxId: String): FfiConversation
Link copied to clipboard
open suspend override fun findInboxId(address: String): String?
Link copied to clipboard
open suspend override fun getConsentState(entityType: FfiConsentEntityType, entity: String): FfiConsentState
Link copied to clipboard
open suspend override fun getLatestInboxState(inboxId: String): FfiInboxState
Link copied to clipboard
open override fun inboxId(): String
Link copied to clipboard
open suspend override fun inboxState(refreshFromNetwork: Boolean): FfiInboxState
Link copied to clipboard
open override fun installationId(): ByteArray
Link copied to clipboard
open suspend override fun maybeStartSyncWorker()

Starts the sync worker if the history sync url is present.

Link copied to clipboard
open override fun message(messageId: ByteArray): FfiMessage
Link copied to clipboard
open suspend override fun registerIdentity(signatureRequest: FfiSignatureRequest)
Link copied to clipboard
open override fun releaseDbConnection()
Link copied to clipboard
Link copied to clipboard
open suspend override fun revokeWallet(walletAddress: String): FfiSignatureRequest

Revokes or removes an identity - really a wallet address - from the existing client

Link copied to clipboard
open suspend override fun sendSyncRequest(kind: FfiDeviceSyncKind)
Link copied to clipboard
open suspend override fun setConsentStates(records: List<FfiConsent>)
Link copied to clipboard
Link copied to clipboard
open override fun signWithInstallationKey(text: String): ByteArray
Link copied to clipboard
fun uniffiClonePointer(): Pointer