clearStorage

abstract suspend fun clearStorage(context: Context, clearAuthorization: Boolean = true): Result<Unit>

Clears out the stored data for this instance.

Return

The Result of performing this operation.

Parameters

context

Interface to global information about an application environment.

clearAuthorization

Removes the locally stored authorization token, which will prevent the user from being able to access their existing conversations. Defaults to true.