Vehicle

public protocol Vehicle : ConformanceLocked

Specifies the vehicle (or lack of one).

Important

You cannot declare new conformances. Only TomTomSDKCommon/Pedestrian, TomTomSDKCommon/Bicycle, TomTomSDKCommon/Car, TomTomSDKCommon/Motorcycle, TomTomSDKCommon/Van, TomTomSDKCommon/Taxi, TomTomSDKCommon/Bus and TomTomSDKCommon/Truck are valid conforming types.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Specifies the max speed of the vehicle.

    Note

    This option is not yet supported with the Orbis map.

    Declaration

    Swift

    var maxSpeed: Measurement<UnitSpeed>? { get }
  • Specifies the vehicle type.

    Declaration

    Swift

    var type: VehicleType { get }