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/currentFuel property of the vehicle.

    Declaration

    Swift

    case currentFuel(Measurement<UnitVolume>)
  • Represents TomTomSDKCommon/CombustionEngine/Efficiency/fuelEnergyDensity property of the vehicle.

    Declaration

    Swift

    case fuelEnergyDensity(Measurement<TTUnitEnergyDensity>)
  • Represents TomTomSDKCommon/CombustionEngine/Consumption/auxiliaryPower property of the vehicle. Requires TomTomSDKVehicle/CombustionEngineProperty/speedConsumption(_:) to be set.

    Declaration

    Swift

    case auxiliaryPower(Measurement<TTUnitFuelPerTime>)
  • Represents TomTomSDKCommon/CombustionEngine/Consumption/speedConsumption property of the vehicle.

    Declaration

    Swift

    case speedConsumption([Measurement<UnitSpeed> : Measurement<UnitFuelEfficiency>])
  • Represents TomTomSDKCommon/CombustionEngine/Efficiency/velocityChange property of the vehicle. Requires TomTomSDKVehicle/CombustionEngineProperty/fuelEnergyDensity(_:) to be set.

    Declaration

    Swift

    case velocityChangeEfficiency(VelocityChangeEfficiency)
  • Represents TomTomSDKCommon/CombustionEngine/Efficiency/altitudeChange property of the vehicle. Requires TomTomSDKVehicle/CombustionEngineProperty/fuelEnergyDensity(_:) to be set.

    Declaration

    Swift

    case altitudeChangeEfficiency(AltitudeChangeEfficiency)
  • id

    Unique identifier of the property.

    Declaration

    Swift

    public var id: PropertyID { get }