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.
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.