Weight

class Weight(val value: Weight, val violates: Boolean) : VehicleRestrictionData

Weight restriction.

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

Constructors

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

Properties

Link copied to clipboard

Value of the weight threshold.

Link copied to clipboard
open override val violates: Boolean

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