applyDefaultNavigationOptions

fun RouteOptions.Builder.applyDefaultNavigationOptions(profile: String = DirectionsCriteria.PROFILE_DRIVING_TRAFFIC): RouteOptions.Builder

Applies the RouteOptions that are required for the route request for the selected profile to execute or otherwise recommended for the Navigation SDK and all of its features to provide the best car navigation experience. See also https://docs.mapbox.com/api/navigation/directions/.

Default profile is DirectionsCriteria.PROFILE_DRIVING_TRAFFIC.

See also

DirectionsCriteria.ProfileCriteria