-
public class StreamUserDataStore.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private 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 BooleangetIsInstalled()final UnitsetIsInstalled(Boolean isInstalled)-
-
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.
-
getIsInstalled
final Boolean getIsInstalled()
-
setIsInstalled
final Unit setIsInstalled(Boolean isInstalled)
-
-
-
-