NavigationViewApi
Api that gives you the ability to change the state of NavigationView.
Constructors
Functions
Access the current instance of MapboxVoiceInstructionsPlayer created by NavigationView.
Checks if the current trip is being simulated.
If the camera is idle or in overview mode, calling this function will dispatch an action that will reposition the camera back to the user locaiton indicator (as if the recenter button was clicked).
Enable/Disable replay trip session based on simulated locations.
Request NavigationView to enter active navigation state.
Sets routes and request NavigationView to enter active navigation state. Last DirectionsWaypoint location will be used as the destination.
Request NavigationView to enter arrival state.
Sets routes and request NavigationView to enter arrival state. Last DirectionsWaypoint location will be used as the destination.
Sets a point as destination and request NavigationView to enter destination preview state.
Clear route data and request NavigationView to enter free drive state.
Request NavigationView to enter route preview state.
Sets preview routes and request NavigationView to enter route preview state. Last DirectionsWaypoint location will be used as the destination.