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. This property is null if information about the current average speed for the roadworks stretch is missing.

Link copied to clipboard

Lane changes can represent a reduced number of lanes, narrow lanes, or a different lane structure throughout the roadworks stretch. True if lane changes are expected. False otherwise. This property is null if information about the lane changes due to the roadworks hazard is not provided.

Link copied to clipboard

The length of the zone affected by roadworks, measured in meters. This property is null if information about the affected length of the zone is missing.

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