SectionTransportMode

public enum SectionTransportMode : UInt32, CaseIterable, Codable

Specifies the Section mode of transport. A Section may have a different transport mode than the one specified for route calculation. For example, a car route may have a section having ferry transport mode.

  • car

    Car mode of transport.

    Declaration

    Swift

    case car
  • Truck mode of transport.

    Declaration

    Swift

    case truck
  • Pedestrian mode of transport.

    Declaration

    Swift

    case pedestrian
  • Ferry mode of transport.

    Declaration

    Swift

    case ferry
  • Mode of transport representing a shuttle train for cars.

    Declaration

    Swift

    case carShuttleTrain
  • Scooter mode of transport.

    Declaration

    Swift

    case scooter
  • Bicycle mode of transport.

    Declaration

    Swift

    case bicycle
  • A section with this mode is part of a public transit route. The actual transport mode can be obtained from Section.transitDetails.

    Declaration

    Swift

    case publicTransit
  • Taxi mode of transport.

    Declaration

    Swift

    case taxi
  • bus

    Bus mode of transport. Denotes those vehicles operated by public transport provider. This transport mode has the access to the bus-only lane/road.

    Declaration

    Swift

    case bus
  • Private bus mode of transport. Denotes those vehicles operated by private transport company. This transport mode does not have the access to the bus-only lane/road.

    Declaration

    Swift

    case privateBus