Category

public enum Category : String

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
  • fog

    Value representing reduced visibility due to fog.

    Declaration

    Swift

    case fog
  • Value representing generic dangerous conditions on the road.

    Declaration

    Swift

    case dangerousConditions
  • Value representing reduced visibility or slippery roads due to rain.

    Declaration

    Swift

    case rain
  • ice

    Value representing reduced visibility or dangerous roads due to snow or ice.

    Declaration

    Swift

    case ice
  • jam

    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 a road that cannot be driven in the given direction.

    Declaration

    Swift

    case roadClosure
  • Value representing road works.

    Declaration

    Swift

    case roadWorks
  • Value representing strong winds on the road.

    Declaration

    Swift

    case wind
  • Value representing a closed entry or exit ramp.

    Declaration

    Swift

    case slipRoadClosure
  • Value representing a traffic event for informational purposes only.

    Declaration

    Swift

    case info