ClientOptions

data class ClientOptions(val api: ClientOptions.Api = Api(), val preAuthenticateToInboxCallback: PreEventCallback? = null, val appContext: Context, val dbEncryptionKey: ByteArray, val historySyncUrl: String = when (api.env) { XMTPEnvironment.PRODUCTION -> "https://message-history.production.ephemera.network/" XMTPEnvironment.LOCAL -> "http://10.0.2.2:5558" else -> "https://message-history.dev.ephemera.network/" }, val dbDirectory: String? = null)

Constructors

Link copied to clipboard
constructor(api: ClientOptions.Api = Api(), preAuthenticateToInboxCallback: PreEventCallback? = null, appContext: Context, dbEncryptionKey: ByteArray, historySyncUrl: String = when (api.env) { XMTPEnvironment.PRODUCTION -> "https://message-history.production.ephemera.network/" XMTPEnvironment.LOCAL -> "http://10.0.2.2:5558" else -> "https://message-history.dev.ephemera.network/" }, dbDirectory: String? = null)

Types

Link copied to clipboard
data class Api(val env: XMTPEnvironment = XMTPEnvironment.DEV, val isSecure: Boolean = true, val appVersion: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val dbDirectory: String? = null
Link copied to clipboard
Link copied to clipboard