Exclusion Violation
data class ExclusionViolation(type: String, route: DirectionsRoute, legIndex: Int, leg: RouteLeg, stepIndex: Int, step: LegStep, intersectionIndex: Int, intersection: StepIntersection)
Content copied to clipboard
Violated road type.
Parameters
type
see RouteOptions.Builder.exclude for possible types.
route
DirectionsRoute that includes the exclusion violation.
legIndex
index representing the leg that includes the exclusion violation.
leg
RouteLeg that includes the exclusion violation.
stepIndex
index representing the step that includes the exclusion violation.
step
LegStep that includes the exclusion violation.
intersectionIndex
index representing the intersection that includes the exclusion violation.
intersection
StepIntersection that includes the exclusion violation.
Constructors
ExclusionViolation
Link copied to clipboard
fun ExclusionViolation(type: String, route: DirectionsRoute, legIndex: Int, leg: RouteLeg, stepIndex: Int, step: LegStep, intersectionIndex: Int, intersection: StepIntersection)
Content copied to clipboard
see RouteOptions.Builder.exclude for possible types.
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard
component4
Link copied to clipboard
component5
Link copied to clipboard
component6
Link copied to clipboard
component7
Link copied to clipboard
component8
Link copied to clipboard