TrafficIncidentType
public enum TrafficIncidentType : UInt32, CaseIterable, Codable
Category of a traffic incident.
-
Traffic accident.
Declaration
Swift
case accident -
Traffic congestion.
Declaration
Swift
case congestion -
Construction work.
Declaration
Swift
case construction -
Overturned or broken down vehicle(s) on the road.
Declaration
Swift
case disabledVehicle -
Incident involving mass transit such as rail or subway.
Declaration
Swift
case massTransit -
Incident involving activities such as sport events or festivals.
Declaration
Swift
case plannedEvent -
Dangerous obstruction on the road such as downed tree or traffic light out.
Declaration
Swift
case roadHazard -
Adverse weather conditions.
Declaration
Swift
case weather -
Road closure.
Declaration
Swift
case roadClosure -
Lane restriction.
Declaration
Swift
case laneRestriction -
The incident is known but it does’t fit into any of the other categories.
Declaration
Swift
case other -
The incident type is not provided by the traffic incidents supplier or not recognized by HERE SDK.
Declaration
Swift
case unknown