FfiXmtpClientInterface

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract suspend fun addressesFromInboxId(refreshFromNetwork: Boolean, inboxIds: List<String>): List<FfiInboxState>
Link copied to clipboard
abstract suspend fun addWallet(existingWalletAddress: String, newWalletAddress: String): FfiSignatureRequest

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

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

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

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

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

Link copied to clipboard
abstract suspend fun sendSyncRequest(kind: FfiDeviceSyncKind)
Link copied to clipboard
abstract suspend fun setConsentStates(records: List<FfiConsent>)
Link copied to clipboard
Link copied to clipboard