toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-storage
/
com.mapbox.nav.gm.storage.data.datasource.storage
/
StorageImpl
Storage
Impl
class
StorageImpl
(
context
:
Context
,
fileName
:
String
)
:
Storage
Members
Members & Extensions
Constructors
Storage
Impl
Link copied to clipboard
constructor
(
context
:
Context
,
fileName
:
String
)
Functions
clear
Link copied to clipboard
open
override
fun
clear
(
)
get
Link copied to clipboard
open
override
fun
<
T
>
get
(
key
:
String
,
serializer
:
KSerializer
<
T
>
)
:
T
?
on
Value
Changed
Link copied to clipboard
open
override
fun
<
T
>
onValueChanged
(
key
:
String
,
serializer
:
KSerializer
<
T
>
)
:
Flow
<
T
?
>
on
Value
Changed
Link copied to clipboard
inline
fun
<
R
,
T
:
R
>
Storage
.
onValueChanged
(
key
:
String
,
serializer
:
KSerializer
<
T
>
,
defaultValue
:
R
)
:
Flow
<
R
>
put
Link copied to clipboard
open
override
fun
<
T
>
put
(
key
:
String
,
serializer
:
KSerializer
<
T
>
,
obj
:
T
)
remove
Link copied to clipboard
open
override
fun
remove
(
key
:
String
)