toggle menu
korge-root
5.1.0
common
darwin
switch theme
search in API
korge
/
korlibs.korge.service.storage
/
DefaultNativeStorage
Default
Native
Storage
darwin
open
class
DefaultNativeStorage
(
views
:
Views
)
:
FiledBasedNativeStorage
Members
Members & Extensions
Constructors
Default
Native
Storage
Link copied to clipboard
darwin
constructor
(
views
:
Views
)
Properties
game
Storage
File
Link copied to clipboard
darwin
val
gameStorageFile
:
String
game
Storage
Folder
Link copied to clipboard
darwin
val
gameStorageFolder
:
String
views
Link copied to clipboard
darwin
val
views
:
Views
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
darwin
open
override
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
darwin
open
override
fun
keys
(
)
:
List
<
String
>
remove
Link copied to clipboard
darwin
open
override
fun
remove
(
key
:
String
)
remove
All
Link copied to clipboard
darwin
open
override
fun
removeAll
(
)
set
Link copied to clipboard
darwin
open
operator override
fun
set
(
key
:
String
,
value
:
String
)
to
Map
Link copied to clipboard
darwin
open
fun
toMap
(
)
:
Map
<
String
,
String
?
>
to
String
Link copied to clipboard
darwin
open
override
fun
toString
(
)
:
String