toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-state
/
com.mapbox.dash.state.reducer.data
/
AppDataReducer
App
Data
Reducer
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
class
AppDataReducer
(
cameraStateFactory
:
CameraStateFactory
)
Members
Constructors
App
Data
Reducer
Link copied to clipboard
constructor
(
cameraStateFactory
:
CameraStateFactory
)
Functions
reduce
Link copied to clipboard
fun
reduce
(
appData
:
AppData
,
transition
:
StateMachine.Transition.Valid
<
State
,
Event
,
Any
>
)
:
AppData
fun
reduce
(
appData
:
AppData
,
toState
:
State
,
event
:
Event
)
:
AppData