CombustionEngineProperty
public enum CombustionEngineProperty
Combustion engine property attributes.
Each CombustionEngineProperty represents one property of the
CombustionEngine model, and shares its PropertyID.
Used for updating vehicle’s combustion engine state via
updateVehicleProperties(_:).
-
Represents
currentFuelproperty of the vehicle.Declaration
Swift
case currentFuel(Measurement<UnitVolume>) -
Represents
fuelEnergyDensityproperty of the vehicle.Declaration
Swift
case fuelEnergyDensity(Measurement<TTUnitEnergyDensity>) -
Represents
auxiliaryPowerproperty of the vehicle. RequiresspeedConsumption(_:)to be set.Declaration
Swift
case auxiliaryPower(Measurement<TTUnitFuelPerTime>) -
Represents
speedConsumptionproperty of the vehicle.Declaration
Swift
case speedConsumption([Measurement<UnitSpeed> : Measurement<UnitFuelEfficiency>]) -
Represents
velocityChangeproperty of the vehicle. RequiresfuelEnergyDensity(_:)to be set.Declaration
Swift
case velocityChangeEfficiency(VelocityChangeEfficiency) -
Represents
altitudeChangeproperty of the vehicle. RequiresfuelEnergyDensity(_:)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.71.1)
CombustionEngineProperty