toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge
/
korlibs.korge.service.storage
/
IStorageWithKeys
IStorage
With
Keys
interface
IStorageWithKeys
:
IStorage
Inheritors
NativeStorage
InmemoryStorage
FiledBasedNativeStorage
DarwinNativeStorage
BrowserNativeStorage
Members
Members & Extensions
Functions
contains
Link copied to clipboard
operator
fun
IStorage
.
contains
(
key
:
String
)
:
Boolean
get
Link copied to clipboard
operator
fun
IStorage
.
get
(
key
:
String
)
:
String
get
Or
Null
Link copied to clipboard
abstract
fun
getOrNull
(
key
:
String
)
:
String
?
item
Link copied to clipboard
fun
<
T
>
IStorage
.
item
(
key
:
String
,
serialize
:
(
T
)
->
String
,
deserialize
:
(
String
?
)
->
T
)
:
StorageKey
<
T
>
item
Bool
Link copied to clipboard
fun
IStorage
.
itemBool
(
key
:
String
,
default
:
Boolean
=
false
)
:
StorageKey
<
Boolean
>
item
Double
Link copied to clipboard
fun
IStorage
.
itemDouble
(
key
:
String
,
default
:
Double
=
0.0
)
:
StorageKey
<
Double
>
item
Int
Link copied to clipboard
fun
IStorage
.
itemInt
(
key
:
String
,
default
:
Int
=
0
)
:
StorageKey
<
Int
>
item
String
Link copied to clipboard
fun
IStorage
.
itemString
(
key
:
String
,
default
:
String
=
""
)
:
StorageKey
<
String
>
keys
Link copied to clipboard
abstract
fun
keys
(
)
:
List
<
String
>
remove
Link copied to clipboard
abstract
fun
remove
(
key
:
String
)
remove
All
Link copied to clipboard
open
override
fun
removeAll
(
)
set
Link copied to clipboard
abstract
operator
fun
set
(
key
:
String
,
value
:
String
)
to
Map
Link copied to clipboard
open
fun
toMap
(
)
:
Map
<
String
,
String
?
>