ExclusionViolation

class ExclusionViolation(val type: String, val route: DirectionsRoute, val legIndex: Int, val leg: RouteLeg, val stepIndex: Int, val step: LegStep, val intersectionIndex: Int, val 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

Link copied to clipboard
constructor(type: String, route: DirectionsRoute, legIndex: Int, leg: RouteLeg, stepIndex: Int, step: LegStep, intersectionIndex: Int, intersection: StepIntersection)

Properties

Link copied to clipboard
val intersection: StepIntersection
Link copied to clipboard
Link copied to clipboard
val leg: RouteLeg
Link copied to clipboard
Link copied to clipboard
val route: DirectionsRoute
Link copied to clipboard
val step: LegStep
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for the object.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.