exclusionViolations

fun DirectionsRoute.exclusionViolations(): List<ExclusionViolation>
fun NavigationRoute.exclusionViolations(): List<ExclusionViolation>

Returns all violated exclusions for this route.

See also

com.mapbox.api.directions.v5.models.RouteOptions.Builder