Companion

object Companion

Properties

Link copied to clipboard

Represents if StreamUserDataStore is already installed or not. Lets you know if the internal StreamUserDataStore instance is being used as the uncaught exception handler when true or if it is using the default one if false.

Functions

Link copied to clipboard
fun install(context: Context, isEncrypted: Boolean = true): StreamUserDataStore

Installs a new StreamUserDataStore instance to be used.

Link copied to clipboard

Returns an installed StreamUserDataStore instance or throw an exception if its not installed.

Link copied to clipboard

Returns an installed StreamUserDataStore instance lazy or throw an exception if its not installed.

Link copied to clipboard
fun unInstall()

Uninstall a previous StreamUserDataStore instance.