Height

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

Height 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 height threshold.

Link copied to clipboard
open override val violates: Boolean

Flag to indicate if the current vehicle profile violates the height 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