Companion

object Companion : Core

Properties

Link copied to clipboard
val Factory: <Error class: unknown class>

Factory for creating an instance of CoreClient.

Functions

Link copied to clipboard
open suspend override fun clearStorage(context: Context): Result<Unit>

Clears out the stored data for this instance.

Link copied to clipboard
open suspend override fun delete(context: Context, conversationId: UUID): Int

Deletes the conversation from the local database.

Link copied to clipboard
open suspend override fun destroyStorage(context: Context): Result<Boolean>

Removes the stored data for this instance.

Link copied to clipboard
open suspend override fun provideDeviceToken(context: Context, token: String): Result<String>

Provides the FCM token to register this device for push notifications. No action occurs if the same token is provided multiple times.

open suspend override fun provideDeviceToken(context: Context, token: String, developerName: String): Result<String>
Link copied to clipboard
open override fun setLogLevel(level: Level, logCategory: LogCategory)

Sets the log level.