ExclusionViolation

data class ExclusionViolation(type: String, route: DirectionsRoute, legIndex: Int, leg: RouteLeg, stepIndex: Int, step: LegStep, intersectionIndex: Int, intersection: StepIntersection)

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)
see RouteOptions.Builder.exclude for possible types.

Functions

component1
Link copied to clipboard
operator fun component1(): String
component2
Link copied to clipboard
operator fun component2(): DirectionsRoute
component3
Link copied to clipboard
operator fun component3(): Int
component4
Link copied to clipboard
operator fun component4(): RouteLeg
component5
Link copied to clipboard
operator fun component5(): Int
component6
Link copied to clipboard
operator fun component6(): LegStep
component7
Link copied to clipboard
operator fun component7(): Int
component8
Link copied to clipboard
operator fun component8(): StepIntersection
copy
Link copied to clipboard
fun copy(type: String, route: DirectionsRoute, legIndex: Int, leg: RouteLeg, stepIndex: Int, step: LegStep, intersectionIndex: Int, intersection: StepIntersection): ExclusionViolation
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

intersection
Link copied to clipboard
val intersection: StepIntersection
StepIntersection that includes the exclusion violation.
intersectionIndex
Link copied to clipboard
val intersectionIndex: Int
index representing the intersection that includes the exclusion violation.
leg
Link copied to clipboard
val leg: RouteLeg
RouteLeg that includes the exclusion violation.
legIndex
Link copied to clipboard
val legIndex: Int
index representing the leg that includes the exclusion violation.
route
Link copied to clipboard
val route: DirectionsRoute
DirectionsRoute that includes the exclusion violation.
step
Link copied to clipboard
val step: LegStep
LegStep that includes the exclusion violation.
stepIndex
Link copied to clipboard
val stepIndex: Int
index representing the step that includes the exclusion violation.
type
Link copied to clipboard
val type: String
see RouteOptions.Builder.exclude for possible types.