Rachel
Toggle table of contents
3.7.2
desktop
Target filter
desktop
Switch theme
Search in API
Skip to content
Rachel
love.yinlin.foundation.kv
/
love.yinlin.foundation.kv
/
NativeKV
Native
KV
desktop
@
NativeLibApi
class
NativeKV
(
path
:
String
)
:
AutoCloseable
Members
Constructors
Native
KV
Link copied to clipboard
desktop
constructor
(
path
:
String
)
Types
Companion
Link copied to clipboard
desktop
object
Companion
Functions
close
Link copied to clipboard
desktop
open
override
fun
close
(
)
contains
Link copied to clipboard
desktop
operator
fun
contains
(
key
:
String
)
:
Boolean
get
Boolean
Link copied to clipboard
desktop
fun
getBoolean
(
key
:
String
,
default
:
Boolean
)
:
Boolean
get
Byte
Array
Link copied to clipboard
desktop
fun
getByteArray
(
key
:
String
,
default
:
ByteArray
)
:
ByteArray
get
Double
Link copied to clipboard
desktop
fun
getDouble
(
key
:
String
,
default
:
Double
)
:
Double
get
Float
Link copied to clipboard
desktop
fun
getFloat
(
key
:
String
,
default
:
Float
)
:
Float
get
Int
Link copied to clipboard
desktop
fun
getInt
(
key
:
String
,
default
:
Int
)
:
Int
get
Long
Link copied to clipboard
desktop
fun
getLong
(
key
:
String
,
default
:
Long
)
:
Long
get
String
Link copied to clipboard
desktop
fun
getString
(
key
:
String
,
default
:
String
)
:
String
remove
Link copied to clipboard
desktop
fun
remove
(
key
:
String
)
set
Link copied to clipboard
desktop
fun
set
(
key
:
String
,
value
:
Boolean
,
expire
:
Int
)
fun
set
(
key
:
String
,
value
:
ByteArray
,
expire
:
Int
)
fun
set
(
key
:
String
,
value
:
Double
,
expire
:
Int
)
fun
set
(
key
:
String
,
value
:
Float
,
expire
:
Int
)
fun
set
(
key
:
String
,
value
:
Int
,
expire
:
Int
)
fun
set
(
key
:
String
,
value
:
Long
,
expire
:
Int
)
fun
set
(
key
:
String
,
value
:
String
,
expire
:
Int
)