Package-level declarations
Types
Link copied to clipboard
When an exception occurs inside MKMB (not MMKV itself), it will be thrown.
Link copied to clipboard
class MMKVOptions
MMKV configuration options
Functions
Link copied to clipboard
expect fun MMKV.Companion.defaultMMKV(mode: MMKVMode = MMKVMode.SINGLE_PROCESS, cryptKey: String? = null): MMKV
Get the default MMKV instance
actual fun <Error class: unknown class>.defaultMMKV(mode: <Error class: unknown class>, cryptKey: String?): <Error class: unknown class>
Link copied to clipboard
Link copied to clipboard
Import data from SharedPreferences
Link copied to clipboard
Initialize MMKV
actual fun <Error class: unknown class>.initialize(path: String, options: <Error class: unknown class>)
Link copied to clipboard
fun <Error class: unknown class>.initializeWithMultiProcess(group: String, options: <Error class: unknown class>)
Initialize MMKV with App Groups to enable data sharing across processes
Link copied to clipboard
expect fun MMKV.Companion.mmkvWithID(id: String, mode: MMKVMode = MMKVMode.SINGLE_PROCESS, cryptKey: String? = null): MMKV
Get an MMKV instance by ID
actual fun <Error class: unknown class>.mmkvWithID(id: String, mode: <Error class: unknown class>, cryptKey: String?): <Error class: unknown class>