Kind

public enum Kind

Type of the road object.

  • An alert providing information about incidents on a route. Incidents can include congestion, massTransit, and more (see Kind for the full list of incident types).

    Declaration

    Swift

    case incident(Incident?)
  • An alert describing a point along the route where a toll may be collected. Note that this does not describe the entire toll road, rather it describes a booth or electronic gate where a toll is typically charged. See CollectionType.

    Declaration

    Swift

    case tollCollection(TollCollection?)
  • An alert describing a country border crossing along the route. The alert triggers at the point where the administrative boundary changes from one country to another. Two-letter and three-letter ISO 3166-1 country codes are provided for the exiting country and the entering country. See BorderCrossingInfo.

    Declaration

    Swift

    case borderCrossing(BorderCrossing?)
  • An alert describing a section of the route that continues through a tunnel. The alert begins at the entrance of the tunnel and ends at the exit of the tunnel. For named tunnels, the tunnel name is provided as part of Tunnel.name.

    Declaration

    Swift

    case tunnel(Tunnel?)
  • An alert about a rest area or service area accessible from the route. The alert marks the point along the route where a driver can choose to pull off to access a rest stop. See StopType.

    Declaration

    Swift

    case serviceArea(RestStop?)
  • An alert about a segment of a route that includes a restriction. Restricted roads can include private access roads or gated areas that can be accessed but are not open to vehicles passing through.

    Declaration

    Swift

    case restrictedArea
  • An alert about a segment of a route that includes a bridge.

    Declaration

    Swift

    case bridge
  • An alert about an railroad crossing at grade, also known as a level crossing.

    Declaration

    Swift

    case railroadCrossing
  • Reserved for future use.

    Declaration

    Swift

    case userDefined