Package-level declarations
Types
Link copied to clipboard
interface Disposable
Link copied to clipboard
data class FfiConsent(var entityType: FfiConsentEntityType, var state: FfiConsentState, var entity: String)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface FfiConversationCallback
Link copied to clipboard
Link copied to clipboard
interface FfiConversationInterface
Link copied to clipboard
data class FfiConversationMember(var inboxId: String, var accountAddresses: List<String>, var installationIds: List<ByteArray>, var permissionLevel: FfiPermissionLevel, var consentState: FfiConsentState)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface FfiConversationMetadataInterface
Link copied to clipboard
Link copied to clipboard
interface FfiConversationsInterface
Link copied to clipboard
Link copied to clipboard
data class FfiCreateGroupOptions(var permissions: FfiGroupPermissionsOptions?, var groupName: String?, var groupImageUrlSquare: String?, var groupDescription: String?, var groupPinnedFrameUrl: String?, var customPermissionPolicySet: FfiPermissionPolicySet?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface FfiGroupPermissionsInterface
Link copied to clipboard
Link copied to clipboard
interface FfiInboxOwner
Link copied to clipboard
data class FfiInboxState(var inboxId: String, var recoveryAddress: String, var installations: List<FfiInstallation>, var accountAddresses: List<String>)
Link copied to clipboard
Link copied to clipboard
data class FfiListConversationsOptions(var createdAfterNs: Long?, var createdBeforeNs: Long?, var limit: Long?, var consentState: FfiConsentState?)
Link copied to clipboard
data class FfiListMessagesOptions(var sentBeforeNs: Long?, var sentAfterNs: Long?, var limit: Long?, var deliveryStatus: FfiDeliveryStatus?, var direction: FfiDirection?)
Link copied to clipboard
data class FfiMessage(var id: ByteArray, var sentAtNs: Long, var convoId: ByteArray, var senderInboxId: String, var content: ByteArray, var kind: FfiConversationMessageKind, var deliveryStatus: FfiDeliveryStatus)
Link copied to clipboard
interface FfiMessageCallback
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class FfiPermissionPolicySet(var addMemberPolicy: FfiPermissionPolicy, var removeMemberPolicy: FfiPermissionPolicy, var addAdminPolicy: FfiPermissionPolicy, var removeAdminPolicy: FfiPermissionPolicy, var updateGroupNamePolicy: FfiPermissionPolicy, var updateGroupDescriptionPolicy: FfiPermissionPolicy, var updateGroupImageUrlSquarePolicy: FfiPermissionPolicy, var updateGroupPinnedFrameUrlPolicy: FfiPermissionPolicy)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface FfiSignatureRequestInterface
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface FfiStreamCloserInterface
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface FfiV2ApiClientInterface
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class FfiV2QueryRequest(var contentTopics: List<String>, var startTimeNs: ULong, var endTimeNs: ULong, var pagingInfo: FfiPagingInfo?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Subscription to a stream of V2 Messages
Link copied to clipboard
interface FfiV2SubscriptionCallback
Link copied to clipboard
Link copied to clipboard
interface FfiV2SubscriptionInterface
Subscription to a stream of V2 Messages
Link copied to clipboard
Link copied to clipboard
interface FfiXmtpClientInterface
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
suspend fun createClient(logger: FfiLogger, host: String, isSecure: Boolean, db: String?, encryptionKey: ByteArray?, inboxId: String, accountAddress: String, nonce: ULong, legacySignedPrivateKeyProto: ByteArray?, historySyncUrl: String?): FfiXmtpClient
It returns a new client of the specified inbox_id
. Note that the inbox_id
must be either brand new or already associated with the account_address
. i.e. inbox_id
cannot be associated with another account address.
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun userPreferencesDecrypt(publicKey: ByteArray, privateKey: ByteArray, message: ByteArray): ByteArray
Link copied to clipboard
fun userPreferencesEncrypt(publicKey: ByteArray, privateKey: ByteArray, message: ByteArray): ByteArray
Link copied to clipboard