RoadWorks

class RoadWorks(val lengthAffected: Distance?, val currentSpeed: Speed?, val laneChangesExpected: Boolean?) : DetailedHazardInformation

Represents a hazard due to roadworks.

Constructors

Link copied to clipboard
constructor(lengthAffected: Distance?, currentSpeed: Speed?, laneChangesExpected: Boolean?)

Properties

Link copied to clipboard

The current average speed for the roadworks stretch.

Link copied to clipboard

Lane changes can be a reduced number of lanes, narrow lanes, or a different lane structure throughout the roadworks stretch. True, if lane changes are expected. False, if no lane changes are expected. Not available, if it is not known if the roadworks hazard also includes lane changes.

Link copied to clipboard

The length of the roadworks in meters.

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