applyDefaultNavigationOptions
fun RouteOptions.Builder.applyDefaultNavigationOptions(profile: String = DirectionsCriteria.PROFILE_DRIVING_TRAFFIC): RouteOptions.Builder
Content copied to clipboard
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
com.mapbox.api.directions.v5.DirectionsCriteria.ProfileCriteria