Category
public enum Category
Indicates the category to which a traffic event belongs.
Important
This is a Public Preview API. It may be changed or removed at any time.Value representing an accident on the road.
Declaration
Swift
case accident
Value representing generic dangerous conditions on the road.
Declaration
Swift
case dangerousConditions
Value representing reduced visibility due to fog.
Declaration
Swift
case fog
Value representing reduced visibility or dangerous roads due to snow or ice.
Declaration
Swift
case ice
Value representing a traffic event for informational purposes only.
Declaration
Swift
case info
Value representing a traffic congestion.
Declaration
Swift
case jam
Value representing one or more closed lanes on the road.
Declaration
Swift
case laneClosed
Value representing reduced visibility or slippery roads due to rain.
Declaration
Swift
case rain
Value representing a road that cannot be driven in the given direction.
Declaration
Swift
case roadClosure
Value representing road works.
Declaration
Swift
case roadWorks
Value representing a closed entry or exit ramp.
Declaration
Swift
case slipRoadClosure
Value representing strong winds on the road.
Declaration
Swift
case wind