Rachel
Toggle table of contents
3.6.0
android
common
desktop
ios
web
Target filter
android
common
desktop
ios
web
Switch theme
Search in API
Skip to content
Rachel
love.yinlin.compose.startup.mmkv-kmp
/
love.yinlin.startup
/
StartupKV
Startup
KV
android
common
desktop
ios
web
actual
class
StartupKV
(
pool
:
StartupPool
,
initPath
:
File
)
:
SyncStartup
expect
class
StartupKV
(
pool
:
StartupPool
,
initPath
:
File
)
:
SyncStartup
@
NativeLibApi
actual
class
StartupKV
(
pool
:
StartupPool
,
initPath
:
File
)
:
SyncStartup
actual
class
StartupKV
(
pool
:
StartupPool
,
initPath
:
File
)
:
SyncStartup
actual
class
StartupKV
(
pool
:
StartupPool
,
initPath
:
File
)
:
SyncStartup
Members
Members & Extensions
Constructors
Startup
KV
Link copied to clipboard
android
common
desktop
ios
web
actual
constructor
(
pool
:
StartupPool
,
initPath
:
File
)
expect
constructor
(
pool
:
StartupPool
,
initPath
:
File
)
actual
constructor
(
pool
:
StartupPool
,
initPath
:
File
)
actual
constructor
(
pool
:
StartupPool
,
initPath
:
File
)
actual
constructor
(
pool
:
StartupPool
,
initPath
:
File
)
Properties
kv
Link copied to clipboard
desktop
val
kv
:
MMKV
mmkv
Link copied to clipboard
android
ios
val
mmkv
:
MMKV
val
mmkv
:
MMKV
pool
Link copied to clipboard
android
common
desktop
ios
web
val
pool
:
StartupPool
val
pool
:
StartupPool
val
pool
:
StartupPool
val
pool
:
StartupPool
val
pool
:
StartupPool
Functions
contains
Link copied to clipboard
android
common
desktop
ios
web
actual
operator
fun
contains
(
key
:
String
)
:
Boolean
expect
operator
fun
contains
(
key
:
String
)
:
Boolean
actual
operator
fun
contains
(
key
:
String
)
:
Boolean
actual
operator
fun
contains
(
key
:
String
)
:
Boolean
actual
operator
fun
contains
(
key
:
String
)
:
Boolean
destroy
Link copied to clipboard
android
common
desktop
ios
web
open
fun
destroy
(
)
open
fun
destroy
(
)
open
fun
destroy
(
)
open
fun
destroy
(
)
open
fun
destroy
(
)
destroy
Before
Link copied to clipboard
android
common
desktop
ios
web
open
fun
destroyBefore
(
)
open
fun
destroyBefore
(
)
open
fun
destroyBefore
(
)
open
fun
destroyBefore
(
)
open
fun
destroyBefore
(
)
get
Link copied to clipboard
android
common
desktop
ios
web
actual
inline
fun
<
T
:
Any
>
get
(
key
:
String
,
default
:
T
)
:
T
expect
inline
fun
<
T
:
Any
>
get
(
key
:
String
,
default
:
T
)
:
T
actual
inline
fun
<
T
:
Any
>
get
(
key
:
String
,
default
:
T
)
:
T
actual
inline
fun
<
T
:
Any
>
get
(
key
:
String
,
default
:
T
)
:
T
actual
inline
fun
<
T
:
Any
>
get
(
key
:
String
,
default
:
T
)
:
T
get
Item
Link copied to clipboard
web
fun
getItem
(
key
:
String
)
:
String
?
get
Json
Link copied to clipboard
inline
fun
<
T
>
StartupKV
.
getJson
(
key
:
String
,
defaultFactory
:
(
)
->
T
)
:
T
inline
fun
<
T
>
StartupKV
.
getJson
(
deserializer
:
DeserializationStrategy
<
T
>
,
key
:
String
,
defaultFactory
:
(
)
->
T
)
:
T
init
Link copied to clipboard
android
common
desktop
ios
web
suspend override
fun
init
(
)
suspend override
fun
init
(
)
suspend override
fun
init
(
)
suspend override
fun
init
(
)
suspend override
fun
init
(
)
init
Later
Link copied to clipboard
android
common
desktop
ios
web
open
suspend
fun
initLater
(
)
open
suspend
fun
initLater
(
)
open
suspend
fun
initLater
(
)
open
suspend
fun
initLater
(
)
open
suspend
fun
initLater
(
)
remove
Link copied to clipboard
android
common
desktop
ios
web
actual
fun
remove
(
key
:
String
)
expect
fun
remove
(
key
:
String
)
actual
fun
remove
(
key
:
String
)
actual
fun
remove
(
key
:
String
)
actual
fun
remove
(
key
:
String
)
set
Link copied to clipboard
android
common
desktop
ios
web
actual
fun
set
(
key
:
String
,
value
:
Boolean
,
expire
:
Int
)
actual
fun
set
(
key
:
String
,
value
:
ByteArray
,
expire
:
Int
)
actual
fun
set
(
key
:
String
,
value
:
Double
,
expire
:
Int
)
actual
fun
set
(
key
:
String
,
value
:
Float
,
expire
:
Int
)
actual
fun
set
(
key
:
String
,
value
:
Int
,
expire
:
Int
)
actual
fun
set
(
key
:
String
,
value
:
Long
,
expire
:
Int
)
actual
fun
set
(
key
:
String
,
value
:
String
,
expire
:
Int
)
expect
fun
set
(
key
:
String
,
value
:
Boolean
,
expire
:
Int
=
KVExpire.NEVER
)
expect
fun
set
(
key
:
String
,
value
:
ByteArray
,
expire
:
Int
=
KVExpire.NEVER
)
expect
fun
set
(
key
:
String
,
value
:
Double
,
expire
:
Int
=
KVExpire.NEVER
)
expect
fun
set
(
key
:
String
,
value
:
Float
,
expire
:
Int
=
KVExpire.NEVER
)
expect
fun
set
(
key
:
String
,
value
:
Int
,
expire
:
Int
=
KVExpire.NEVER
)
expect
fun
set
(
key
:
String
,
value
:
Long
,
expire
:
Int
=
KVExpire.NEVER
)
expect
fun
set
(
key
:
String
,
value
:
String
,
expire
:
Int
=
KVExpire.NEVER
)
actual
fun
set
(
key
:
String
,
value
:
Boolean
,
expire
:
Int
)
actual
fun
set
(
key
:
String
,
value
:
ByteArray
,
expire
:
Int
)
actual
fun
set
(
key
:
String
,
value
:
Double
,
expire
:
Int
)
actual
fun
set
(
key
:
String
,
value
:
Float
,
expire
:
Int
)
actual
fun
set
(
key
:
String
,
value
:
Int
,
expire
:
Int
)
actual
fun
set
(
key
:
String
,
value
:
Long
,
expire
:
Int
)
actual
fun
set
(
key
:
String
,
value
:
String
,
expire
:
Int
)
actual
fun
set
(
key
:
String
,
value
:
Boolean
,
expire
:
Int
)
actual
fun
set
(
key
:
String
,
value
:
ByteArray
,
expire
:
Int
)
actual
fun
set
(
key
:
String
,
value
:
Double
,
expire
:
Int
)
actual
fun
set
(
key
:
String
,
value
:
Float
,
expire
:
Int
)
actual
fun
set
(
key
:
String
,
value
:
Int
,
expire
:
Int
)
actual
fun
set
(
key
:
String
,
value
:
Long
,
expire
:
Int
)
actual
fun
set
(
key
:
String
,
value
:
String
,
expire
:
Int
)
actual
fun
set
(
key
:
String
,
value
:
Boolean
,
expire
:
Int
)
actual
fun
set
(
key
:
String
,
value
:
ByteArray
,
expire
:
Int
)
actual
fun
set
(
key
:
String
,
value
:
Double
,
expire
:
Int
)
actual
fun
set
(
key
:
String
,
value
:
Float
,
expire
:
Int
)
actual
fun
set
(
key
:
String
,
value
:
Int
,
expire
:
Int
)
actual
fun
set
(
key
:
String
,
value
:
Long
,
expire
:
Int
)
actual
fun
set
(
key
:
String
,
value
:
String
,
expire
:
Int
)
set
Json
Link copied to clipboard
inline
fun
<
T
>
StartupKV
.
setJson
(
key
:
String
,
value
:
T
,
expire
:
Int
=
KVExpire.NEVER
)
fun
<
T
>
StartupKV
.
setJson
(
serializer
:
SerializationStrategy
<
T
>
,
key
:
String
,
value
:
T
,
expire
:
Int
=
KVExpire.NEVER
)