VehicleRestrictionData

abstract class VehicleRestrictionData

Data of a single vehicle restriction.

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

Inheritors

Types

Link copied to clipboard
class Height(val value: Distance, val violates: Boolean) : VehicleRestrictionData

The height restriction.

Link copied to clipboard
class Length(val value: Distance, val violates: Boolean) : VehicleRestrictionData

The length restriction.

Link copied to clipboard

The vehicle type restriction.

Link copied to clipboard
class Weight(val value: Weight, val violates: Boolean) : VehicleRestrictionData

The weight restriction.

Link copied to clipboard
class Width(val value: Distance, val violates: Boolean) : VehicleRestrictionData

The width restriction.

Properties

Link copied to clipboard
open val violates: Boolean

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