Package-level declarations
Types
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
Indicates the effect the traffic event has on the traffic flow. Codes are chosen according to the TPEG-TEC standard.
Link copied to clipboard
annotation class ExperimentalTrafficApi
Link copied to clipboard
Indicates the subclass 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.