MapboxNavigationProvider
Singleton responsible for ensuring there is only one MapboxNavigation instance. Alternative way of obtaining the instance of the MapboxNavigation is MapboxNavigationApp.
Note that MapboxNavigationProvider and MapboxNavigationApp can't be used together at the same time.
Functions
Link copied to clipboard
Create MapboxNavigation with provided options. Previously created instance of the MapboxNavigation will be destroyed. Should be called before retrieve.
Link copied to clipboard
Retrieve MapboxNavigation instance. Should be called after create.