Object StreamUserDataStore.Companion
-
- All Implemented Interfaces:
public class StreamUserDataStore.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanisInstalledpublic final static StreamUserDataStore.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final StreamUserDataStoreinstance()Returns an installed StreamUserDataStore instance or throw an exception if its not installed. final Lazy<StreamUserDataStore>lazyInstance()Returns an installed StreamUserDataStore instance lazy or throw an exception if its not installed. final StreamUserDataStoreinstall(Context context, Boolean isEncrypted)Installs a new StreamUserDataStore instance to be used. final UnitunInstall()Uninstall a previous StreamUserDataStore instance. final BooleanisInstalled()-
-
Method Detail
-
instance
final StreamUserDataStore instance()
Returns an installed StreamUserDataStore instance or throw an exception if its not installed.
-
lazyInstance
final Lazy<StreamUserDataStore> lazyInstance()
Returns an installed StreamUserDataStore instance lazy or throw an exception if its not installed.
-
install
final StreamUserDataStore install(Context context, Boolean isEncrypted)
Installs a new StreamUserDataStore instance to be used.
-
unInstall
final Unit unInstall()
Uninstall a previous StreamUserDataStore instance.
-
isInstalled
final Boolean isInstalled()
-
-
-
-