arch-android

//Android/br.com.arch.toolkit.android.storage/Storage/KeyValue

KeyValue

[android]
data object KeyValue : Storage

Provides access to KeyValueStorage implementations.

Properties

Name Summary
encrypted [android]
val encrypted: SharedPrefStorage.Encrypted
An encrypted SharedPrefStorage instance.
memory [android]
val memory: MemoryStorage
A MemoryStorage instance for non-persistent storage.
regular [android]
val regular: SharedPrefStorage.Regular
A regular SharedPrefStorage instance.

Functions

Name Summary
init [android]
fun init(context: ERROR CLASS: Symbol not found for Context)
Initializes the KeyValue storage with the provided Context.