Navigation SDK for Android Reference (1.1.0)
All modules /  libnavigation-core / com.mapbox.navigation.core / MapboxNavigation / defaultNavigationOptionsBuilder

defaultNavigationOptionsBuilder

@JvmStatic fun defaultNavigationOptionsBuilder(context: Context, accessToken: String?): Builder

Returns a pre-build set of NavigationOptions with smart defaults.

Use NavigationOptions.toBuilder to easily customize selected options.

Parameters

context - Context

accessToken - Mapbox access token

Return
default NavigationOptions