setup

fun setup(navigationOptions: NavigationOptions): MapboxNavigationApp

Call MapboxNavigationApp.setup to provide the application with NavigationOptions.

This call is a no-op if an attached activity is changing configurations Activity.isChangingConfigurations.


fun setup(navigationOptionsProvider: NavigationOptionsProvider): MapboxNavigationApp

Call MapboxNavigationApp.setup to provide the application with NavigationOptionsProvider. New NavigationOptions will be created for every MapboxNavigation instance.

This call is a no-op if an attached activity is changing configurations Activity.isChangingConfigurations.