mmkvWithID

actual fun MMKV.Companion.mmkvWithID(id: String, mode: MMKVMode, cryptKey: String?): MMKV
expect fun MMKV.Companion.mmkvWithID(id: String, mode: MMKVMode = MMKVMode.SINGLE_PROCESS, cryptKey: String? = null): MMKV

Get an MMKV instance by ID

Return

the MMKV instance

Parameters

id

instance ID

mode

process mode; default is single-process

cryptKey

encryption key (optional)

actual fun <Error class: unknown class>.mmkvWithID(id: String, mode: <Error class: unknown class>, cryptKey: String?): <Error class: unknown class>
actual fun MMKV.Companion.mmkvWithID(id: String, mode: MMKVMode, cryptKey: String?): MMKV