SectionType

public enum SectionType : String
extension SectionType: QueryItemConvertible

Represents types of sections of the route

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Sections of the route that are car trains

    Declaration

    Swift

    case carTrain
  • Sections of the route that are ferries.

    Declaration

    Swift

    case ferry
  • Sections of the route that are tunnels.

    Declaration

    Swift

    case tunnel
  • Sections of the route that are motorways.

    Declaration

    Swift

    case motorway
  • Sections of the route that are only suited for pedestrians.

    Declaration

    Swift

    case pedestrian
  • Sections of the route that require a toll to be payed.

    Declaration

    Swift

    case tollRoad
  • Sections of the route that require a toll vignette to be present.

    Declaration

    Swift

    case tollVignette
  • Sections indicating which countries the route is in.

    Declaration

    Swift

    case country
  • Sections in relation to the request parameter travelMode.

    Declaration

    Swift

    case travelMode
  • Sections of the route that contain traffic information.

    Declaration

    Swift

    case traffic
  • Sections of the route that require use of carpool (HOV/High Occupancy Vehicle) lanes.

    Declaration

    Swift

    case carpool
  • Sections of the route that are located within urban areas.

    Declaration

    Swift

    case urban
  • Section of the route that contains lanes.

    Declaration

    Swift

    case lanes
  • Section of the route that contains speed limits.

    Declaration

    Swift

    case speedLimit
  • Section of the route that contains roadshield.

    Declaration

    Swift

    case roadShields