Companion

object Companion

Functions

Link copied to clipboard
fun SDKClient.Companion.activatePersistentLibXMTPLogWriter(context: Context, logLevel: LogLevel, rotationSchedule: LogRotation, maxFiles: UInt, processType: LogProcessType = LogProcessType.MAIN)

Write native logs in the app's files directory.

Link copied to clipboard
suspend fun build(identity: PublicIdentity, options: ClientOptions, inboxId: InboxId? = null, defaultDirectory: String? = null, codecs: List<ContentCodec<*>> = emptyList()): SDKClient
Link copied to clipboard
suspend fun SDKClient.Companion.build(context: Context, identity: PublicIdentity, options: ClientOptions, inboxId: InboxId? = null, codecs: List<ContentCodec<*>> = emptyList()): SDKClient

Open an existing identity with the same Android storage and lifecycle rules.

Link copied to clipboard
Link copied to clipboard

Try to stop the file writer and return the number of files deleted.

Link copied to clipboard
suspend fun create(signer: Signer, options: ClientOptions, defaultDirectory: String? = null, codecs: List<ContentCodec<*>> = emptyList()): SDKClient
Link copied to clipboard
suspend fun SDKClient.Companion.create(context: Context, signer: Signer, options: ClientOptions, codecs: List<ContentCodec<*>> = emptyList()): SDKClient

Create a client with Android default storage and process lifecycle control.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun SDKClient.Companion.isAddressAuthorized(inboxId: InboxId, address: String, backend: BackendSource): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard