VehicleType

public enum VehicleType
extension VehicleType: QueryItemConvertible

Represents the “vehicle type” parameter in a request to the Routing API.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • car

    Defines the vehicle type as car.

    Declaration

    Swift

    case car
  • Defines the vehicle type as truck.

    Declaration

    Swift

    case truck
  • Defines the vehicle type as taxi.

    Declaration

    Swift

    case taxi
  • bus

    Defines the vehicle type as bus.

    Declaration

    Swift

    case bus
  • van

    Defines the vehicle type as van.

    Declaration

    Swift

    case van
  • Defines the vehicle type as motorcycle.

    Declaration

    Swift

    case motorcycle
  • Defines the vehicle type as bicycle.

    Declaration

    Swift

    case bicycle
  • Defines the vehicle type as pedestrian.

    Declaration

    Swift

    case pedestrian