Core

interface Core

Core interface for the SDK.

See also

Inheritors

Types

Link copied to clipboard
object Companion

Functions

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

Clears out the stored data for this instance.

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

Deletes the conversation from the local database.

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

Removes the stored data for this instance.

Link copied to clipboard
abstract suspend 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.

abstract suspend fun provideDeviceToken(context: Context, token: String, developerName: String = DEFAULT): Result<String>
Link copied to clipboard
abstract fun setLogLevel(level: Level, logCategory: LogCategory = LogCategory.SMI)

Sets the log level.