Length

class Length(val value: Distance, val violates: Boolean) : VehicleRestrictionData

Length restriction.

Important: This is a Public Preview API. It may be changed or removed at any time.

Constructors

Link copied to clipboard
constructor(value: Distance, violates: Boolean)

Properties

Link copied to clipboard

Value of the length threshold.

Link copied to clipboard
open override val violates: Boolean

Flag to indicate if the current vehicle profile violates the length restriction.

Functions

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