DashController
Controller for a Dash instance running in the host application.
Functions
Update search results list with ETA and distance values. If a search result already has non null ETA and distance, it won't be updated.
Add item to the favorites.
Add item to the history.
Clean history.
Close search screen.
Flowable that emits DashCameraState.
Observe favorites.
Observe history.
Flowable that emits the best possible location update, snapped to the route or map-matched to the road if possible.
Flowable that emits whenever a log is available.
Flowable that Mapbox Map events.
Flowable that MapGPT card events.
Flowable that MapGPT events.
Flowable that emits NavigationEvent.
Flowable that emits every time a NavigationState changes. Upon collection, the first emitted value is always current NavigationState.
Flowable that emits every time the next Maneuver.
Flowable that emits every time a new Location has been received.
Flowable that emits DashRoadInfoEvent.
Flowable that emits whenever a list of maintained routes changes.
Observe search request state.
Observe search results.
Observe search suggestions.
Search provided category and show results on the map.
Search provided query and show results on the map.
Open search with the given query and anchor point.
Remove item from the favorites.
Remove item from the history.
Perform search with a given query.
Set a destination for Dash to navigate to. Returns a DashRoutePreview that can be used to start navigation.
Set EV data provider that provides EV relevant data, like state of charge, charging curves, etc.
Set a list of navigation suggestions.
Start active guidance with the given route.
Start active guidance with the route indicated by the index. The default is index 0.
Starts listening for location updates and enters an Active Guidance
state if there's a primary route available or a Free Drive
state otherwise.
Stop active guidance and revert back to Free Drive state.
Stops listening for location updates and enters an Idle
state.