CombustionEngineProperty
public enum CombustionEngineProperty
Combustion engine property attributes.
Each CombustionEngineProperty represents one property of the
TomTomSDKCommon/CombustionEngine model, and shares its PropertyID.
Used for updating vehicle’s combustion engine state via
updateVehicleProperties(_:).
-
Represents
TomTomSDKCommon/CombustionEngine/currentFuelproperty of the vehicle.Declaration
Swift
case currentFuel(Measurement<UnitVolume>) -
Represents
TomTomSDKCommon/CombustionEngine/Efficiency/fuelEnergyDensityproperty of the vehicle.Declaration
Swift
case fuelEnergyDensity(Measurement<TTUnitEnergyDensity>) -
Represents
TomTomSDKCommon/CombustionEngine/Consumption/auxiliaryPowerproperty of the vehicle. RequiresTomTomSDKVehicle/CombustionEngineProperty/speedConsumption(_:)to be set.Declaration
Swift
case auxiliaryPower(Measurement<TTUnitFuelPerTime>) -
Represents
TomTomSDKCommon/CombustionEngine/Consumption/speedConsumptionproperty of the vehicle.Declaration
Swift
case speedConsumption([Measurement<UnitSpeed> : Measurement<UnitFuelEfficiency>]) -
Represents
TomTomSDKCommon/CombustionEngine/Efficiency/velocityChangeproperty of the vehicle. RequiresTomTomSDKVehicle/CombustionEngineProperty/fuelEnergyDensity(_:)to be set.Declaration
Swift
case velocityChangeEfficiency(VelocityChangeEfficiency) -
Represents
TomTomSDKCommon/CombustionEngine/Efficiency/altitudeChangeproperty of the vehicle. RequiresTomTomSDKVehicle/CombustionEngineProperty/fuelEnergyDensity(_:)to be set.Declaration
Swift
case altitudeChangeEfficiency(AltitudeChangeEfficiency)
-
Unique identifier of the property.
Declaration
Swift
public var id: PropertyID { get }
TomTom SDK for iOS (0.53.1)
CombustionEngineProperty