toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-storage
/
com.mapbox.nav.gm.storage.data.datasource.storage
/
Storage
Storage
interface
Storage
Inheritors
StorageImpl
Members
Members & Extensions
Functions
clear
Link copied to clipboard
abstract
fun
clear
(
)
get
Link copied to clipboard
abstract
fun
<
T
>
get
(
key
:
String
,
serializer
:
KSerializer
<
T
>
)
:
T
?
on
Value
Changed
Link copied to clipboard
abstract
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
abstract
fun
<
T
>
put
(
key
:
String
,
serializer
:
KSerializer
<
T
>
,
obj
:
T
)
remove
Link copied to clipboard
abstract
fun
remove
(
key
:
String
)