Package-level declarations

Types

Link copied to clipboard
value class Category

Indicates the category to which a traffic event belongs.

Link copied to clipboard
data class Cause(var mainCause: CauseCode, var warningLevel: WarningLevel, var subCause: Int? = null)

Indicates the cause of a traffic event.

Link copied to clipboard
value class CauseCode

Indicates the cause of the traffic event. Codes are chosen according to the TPEG-TEC standard.

Link copied to clipboard

Indicates the driving side on the road.

Link copied to clipboard
value class EffectCode

Indicates the effect the traffic event has on the traffic flow. Codes are chosen according to the TPEG-TEC standard.

Link copied to clipboard
value class RoadClass

Indicates the class of a road.

Link copied to clipboard

Indicates the subclass of a road.

Link copied to clipboard
value class RoadType

Indicates the type of a road.

Link copied to clipboard
data class TrafficEvent(var id: String, var category: Category? = null, var delay: Duration? = null, var length: Distance? = null, var path: List<GeoPoint> = emptyList(), var effectCode: EffectCode? = null, var isOneWay: Boolean, var drivingSide: DrivingSide, var causes: List<Cause> = emptyList(), var roadType: RoadType, var roadClass: RoadClass? = null, var roadSubclass: RoadSubClass? = null)

Representation of a traffic event. Traffic events represent unusual situations on the road, like traffic congestion, accidents or road works.

Link copied to clipboard

Indicates the severity of the traffic event. Values are chosen according to the TPEG-TEC standard.