VehicleProperty
public enum VehicleProperty
Vehicle property attributes.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Represents
TomTomSDKCommon/VehicleDimensions/weight
property of the vehicle.Declaration
Swift
case weight(Measurement<UnitMass>)
-
Represents
TomTomSDKCommon/VehicleDimensions/axleWeight
property of the vehicle.Declaration
Swift
case axleWeight(Measurement<UnitMass>)
-
Represents
TomTomSDKCommon/VehicleDimensions/length
property of the vehicle.Declaration
Swift
case length(Measurement<UnitLength>)
-
Represents
TomTomSDKCommon/VehicleDimensions/width
property of the vehicle.Declaration
Swift
case width(Measurement<UnitLength>)
-
Represents
TomTomSDKCommon/VehicleDimensions/height
property of the vehicle.Declaration
Swift
case height(Measurement<UnitLength>)
-
Represents
TomTomSDKCommon/Vehicle/maxSpeed
property of the vehicle.Declaration
Swift
case maxSpeed(Measurement<UnitSpeed>)
-
Represents
TomTomSDKCommon/Motorized/isCommercial
property of the vehicle.Declaration
Swift
case isCommercial(Bool)
-
Represents
TomTomSDKCommon/CargoCapable/loadType
property of the vehicle.Used for updating types of cargo, that may be classified as hazardous materials and restricted from some roads.
Declaration
Swift
case loadType(Set<VehicleLoadType>)
-
Represents
TomTomSDKCommon/CargoCapable/adrTunnelRestrictionCode
property of the vehicle.Used for updating the restriction level for tunnel usage according to the ‘European Agreement concerning the International Carriage of Dangerous Goods by Road’ (ADR) tunnel restrictions.
Declaration
Swift
case adrTunnelRestrictionCode(ADRTunnelRestrictionCode)
-
Represents
TomTomSDKCommon/CombustionEngine
property of the vehicle.Declaration
Swift
case combustionEngine([CombustionEngineProperty])
-
Represents
TomTomSDKCommon/ElectricEngine
property of the vehicle.Declaration
Swift
case electricEngine([ElectricEngineProperty])
-
Unique identifier of the property.
Declaration
Swift
public var id: PropertyID { get }