TrafficIncident

interface TrafficIncident

Generic interface that describes protobuf layers called "Traffic incidents flow" and "Traffic incidents POI".

Inheritors

Properties

Link copied to clipboard
abstract val clustered: Int?

The ID of the parent cluster. Presence indicates whether the incident is clustered.

Link copied to clipboard

Specifies user reported attributes associated with the TrafficIncident.

Link copied to clipboard
abstract val delay: Duration

The delay caused by the incident (except in road closures - in this case no delay provided). It is calculated against free-flow travel time (the travel time when the traffic is minimal, e.g., night traffic).

Link copied to clipboard

A description of the incident with the corresponding icon category and cause. Clustering - the idea of clustering is a grouping of all overlapping incidents. If all incidents in the cluster belong to the same type, it will return the incident's type icon. Otherwise, it will return the cluster icon.

Link copied to clipboard
abstract val endDate: Date?

Estimated end date of the incident, when available.

Link copied to clipboard
abstract val id: String?

The ID of the traffic incident.

Link copied to clipboard
abstract val leftHandTraffic: Boolean?

This indicates that if the road has left-hand traffic.

Link copied to clipboard
abstract val magnitude: Magnitude?

The Magnitude of delay associated with the incident.

Link copied to clipboard
abstract val roadCoverage: RoadCoverage?

Describes if the traffic is assigned to the whole road (one way road), or only to one side (two-way road).

Link copied to clipboard
abstract val roadType: RoadType?

Describes the RoadType.