exclude
Exclude certain road types from routing. The default is to not exclude anything from the profile selected. The following exclude flags are available for each profile:
NavigationRoute.PROFILE_DRIVING: One of NavigationRoute.EXCLUDE_TOLL, NavigationRoute.EXCLUDE_MOTORWAY, or NavigationRoute.EXCLUDE_FERRY.
NavigationRoute.PROFILE_DRIVING_TRAFFIC: One of NavigationRoute.EXCLUDE_TOLL, NavigationRoute.EXCLUDE_MOTORWAY, or NavigationRoute.EXCLUDE_FERRY.
NavigationRoute.PROFILE_WALKING: No excludes supported
Since
3.0.0