destroyStorage

abstract suspend fun destroyStorage(context: Context): Result<Boolean>

Deprecated

Use Core.clearStorage instead.

Removes the stored data for this instance.

Return

The Result of performing this operation.

Parameters

context

Interface to global information about an application environment.

destroyAuthorization

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