UserConfigStorageFactory

Deprecated

Scheduled for removal in future versions, User KMM Settings are now replaced by database implementation.Just kept for migration purposes.

Replace with

No replacement available

Deprecated

Scheduled for removal in future versions, User KMM Settings are now replaced by database implementation.Just kept for migration purposes.

Replace with

No replacement available

Deprecated

Scheduled for removal in future versions, User KMM Settings are now replaced by database implementation.Just kept for migration purposes.

Replace with

No replacement available

Factory for creating UserConfigStorage instances. This is used during migration from SharedPreferences to database storage. Creating the storage only when needed avoids creating SharedPreferences when migration is not required.

Deprecated

Scheduled for removal in future versions, User KMM Settings are now replaced by database implementation.Just kept for migration purposes.

Replace with

No replacement available

Deprecated

Scheduled for removal in future versions, User KMM Settings are now replaced by database implementation.Just kept for migration purposes.

Replace with

No replacement available

Constructors

Link copied to clipboard
actual constructor()
actual constructor()
expect constructor()
actual constructor()
actual constructor()

Functions

Link copied to clipboard
actual fun create(userId: UserIDEntity, shouldEncryptData: Boolean, platformParam: Any): UserConfigStorage

Creates a UserConfigStorage instance for Android.

actual fun create(userId: <Error class: unknown class>, shouldEncryptData: Boolean, platformParam: Any): <Error class: unknown class>

Creates a UserConfigStorage instance for Apple platforms.

expect fun create(userId: UserIDEntity, shouldEncryptData: Boolean, platformParam: Any): UserConfigStorage
actual fun create(userId: <Error class: unknown class>, shouldEncryptData: Boolean, platformParam: Any): <Error class: unknown class>
actual fun create(userId: UserIDEntity, shouldEncryptData: Boolean, platformParam: Any): UserConfigStorage

Creates a UserConfigStorage instance for JVM.