Navigation View Model
Constructors
NavigationViewModel
Link copied to clipboard
NavigationViewModel
Link copied to clipboard
@TestOnly()
Content copied to clipboard
NavigationViewModel
Link copied to clipboard
@TestOnly()
Content copied to clipboard
Types
FeedbackFlowStatus
Link copied to clipboard
Functions
closeWithRuntimeException
Link copied to clipboard
enableArrivalExperienceFeedback
Link copied to clipboard
enableDetailedFeedbackFlowAfterTbt
Link copied to clipboard
getApplication
Link copied to clipboard
initialize
Link copied to clipboard
This method will pass NavigationOptions from the NavigationViewOptions to this view model to be used to initialize MapboxNavigation.
initializeEventDispatcher
Link copied to clipboard
open fun initializeEventDispatcher(navigationViewEventDispatcher: NavigationViewEventDispatcher)
Content copied to clipboard
onDetailedFeedbackFlowFinished
Link copied to clipboard
open fun onDetailedFeedbackFlowFinished()
Content copied to clipboard
retrieveBannerInstructions
Link copied to clipboard
@NonNull()
Content copied to clipboard
retrieveDestination
Link copied to clipboard
retrieveFeedbackFlowStatus
Link copied to clipboard
retrieveIsOffRoute
Link copied to clipboard
retrieveNavigation
Link copied to clipboard
retrieveNavigationLocation
Link copied to clipboard
retrieveOnFinalDestinationArrival
Link copied to clipboard
@NonNull()
Content copied to clipboard
retrieveRoute
Link copied to clipboard
retrieveRouteProgress
Link copied to clipboard
retrieveShouldRecordScreenshot
Link copied to clipboard
setTagIfAbsent
Link copied to clipboard
stopNavigation
Link copied to clipboard
open fun stopNavigation()
Content copied to clipboard
takeScreenshot
Link copied to clipboard
open fun takeScreenshot()
Content copied to clipboard
updateFeedback
Link copied to clipboard
updateFeedbackScreenshot
Link copied to clipboard
updateLocation
Link copied to clipboard
updateRouteProgress
Link copied to clipboard
Properties
distanceFormatter
Link copied to clipboard
FEEDBACK_FLOW_CANCEL
Link copied to clipboard
FEEDBACK_FLOW_CANCEL means the FeedbackBottomSheet dismisses.
FEEDBACK_FLOW_IDLE
Link copied to clipboard
FEEDBACK_FLOW_IDLE means the FeedbackBottomSheet is currently shownand is waiting for user's selection.
FEEDBACK_FLOW_SENT
Link copied to clipboard
FEEDBACK_FLOW_SENT means the user has selected a FeedbackEvent.Type and the FeedbackBottomSheet dismisses.
navigationViewOptions
Link copied to clipboard