Rachel
Toggle table of contents
3.5.0
android
common
desktop
ios
web
Target filter
android
common
desktop
ios
web
Switch theme
Search in API
Skip to content
Rachel
love.yinlin.startup.mmkv-kmp
/
love.yinlin.startup
Package-level
declarations
Types
Functions
Types
KVExpire
Link copied to clipboard
object
KVExpire
Startup
KV
Link copied to clipboard
android
common
desktop
ios
web
@
StartupFetcher
(
index
=
0
,
name
=
"initPath"
,
returnType
=
Path::class
)
actual
class
StartupKV
:
SyncStartup
@
StartupFetcher
(
index
=
0
,
name
=
"initPath"
,
returnType
=
Path::class
)
expect
class
StartupKV
:
SyncStartup
@
StartupFetcher
(
index
=
0
,
name
=
"initPath"
,
returnType
=
Path::class
)
@
StartupNative
@
NativeLibApi
actual
class
StartupKV
:
SyncStartup
@
StartupFetcher
(
index
=
0
,
name
=
"initPath"
,
returnType
=
Path::class
)
actual
class
StartupKV
:
SyncStartup
@
StartupFetcher
(
index
=
0
,
name
=
"initPath"
,
returnType
=
Path::class
)
actual
class
StartupKV
:
SyncStartup
Functions
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
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
)