Ffi Xmtp Client
Constructors
Functions
Link copied to clipboard
open suspend override fun addressesFromInboxId(refreshFromNetwork: Boolean, inboxIds: List<String>): List<FfiInboxState>
Link copied to clipboard
Adds a wallet address to the existing client
Link copied to clipboard
Link copied to clipboard
Load the metadata for a backup to see what it contains. Reads only the metadata without loading the entire file, so this function is quick.
Link copied to clipboard
Backup your application to file for later restoration.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun getConsentState(entityType: FfiConsentEntityType, entity: String): FfiConsentState
Link copied to clipboard
Link copied to clipboard
Import a previous backup
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun revokeInstallations(installationIds: List<ByteArray>): FfiSignatureRequest
Link copied to clipboard
Revokes or removes an identity from the existing client
Link copied to clipboard
Manually trigger a device sync request to sync records from another active device on this account.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
A utility function to sign a piece of text with this installation's private key.
Link copied to clipboard
Link copied to clipboard
A utility function to easily verify that a piece of text was signed by this installation.
Link copied to clipboard
open override fun verifySignedWithPublicKey(signatureText: String, signatureBytes: ByteArray, publicKey: ByteArray)
A utility function to easily verify that a string has been signed by another libXmtp installation. Only works for verifying libXmtp public context signatures.