VehicleProperty
public enum VehicleProperty
Vehicle property attributes.
Each VehicleProperty represents one property of the TomTomSDKCommon/Vehicle model, and shares its PropertyID.
Used for updating vehicle state via
updateVehicleProperties(_:).
-
Represents
TomTomSDKCommon/VehicleDimensions/weightproperty of the vehicle.Declaration
Swift
case weight(Measurement<UnitMass>) -
Represents
TomTomSDKCommon/VehicleDimensions/axleWeightproperty of the vehicle.Declaration
Swift
case axleWeight(Measurement<UnitMass>) -
Represents
TomTomSDKCommon/VehicleDimensions/lengthproperty of the vehicle.Declaration
Swift
case length(Measurement<UnitLength>) -
Represents
TomTomSDKCommon/VehicleDimensions/widthproperty of the vehicle.Declaration
Swift
case width(Measurement<UnitLength>) -
Represents
TomTomSDKCommon/VehicleDimensions/heightproperty of the vehicle.Declaration
Swift
case height(Measurement<UnitLength>) -
Represents
TomTomSDKCommon/Vehicle/maxSpeedproperty of the vehicle.Declaration
Swift
case maxSpeed(Measurement<UnitSpeed>) -
Represents
TomTomSDKCommon/Motorized/isCommercialproperty of the vehicle.Declaration
Swift
case isCommercial(Bool) -
Represents
TomTomSDKCommon/CargoCapable/hazmatClassesproperty of the vehicle.Used for updating types of cargo, that may be classified as hazardous materials and restricted from some roads.
Declaration
Swift
case hazmatClasses(Set<HazmatClass>) -
Represents
TomTomSDKCommon/CargoCapable/adrTunnelRestrictionCodeproperty 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/CombustionEngineproperty of the vehicle.Declaration
Swift
case combustionEngine([CombustionEngineProperty]) -
Represents
TomTomSDKCommon/ElectricEngineproperty of the vehicle.Declaration
Swift
case electricEngine([ElectricEngineProperty])
-
Unique identifier of the property.
Declaration
Swift
public var id: PropertyID { get }
TomTom SDK for iOS (0.53.1)
VehicleProperty