toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-storage
/
com.mapbox.dash.sdk.storage.data.datasource.storage
Package-level
declarations
Types
Functions
Types
Storage
Link copied to clipboard
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
interface
Storage
Storage
Impl
Link copied to clipboard
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
class
StorageImpl
(
context
:
Context
,
fileName
:
String
,
shouldLogChanges
:
Boolean
=
false
)
:
Storage
Functions
on
Value
Changed
Link copied to clipboard
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
fun
<
R
,
T
:
R
>
Storage
.
onValueChanged
(
key
:
String
,
serializer
:
KSerializer
<
T
>
,
defaultValue
:
R
)
:
Flow
<
R
>