ElectricEngineProperty
public enum ElectricEngineProperty
Electric engine property attributes.
Each ElectricEngineProperty represents one property of the
TomTomSDKCommon/ElectricEngine model, and shares its PropertyID.
Used for updating vehicle’s electric engine state via
updateVehicleProperties(_:).
-
Represents
TomTomSDKCommon/ElectricEngine/ChargeLevel/currentChargeproperty of the vehicle.Declaration
Swift
case currentCharge(Measurement<UnitEnergy>) -
Represents
TomTomSDKCommon/ElectricEngine/ChargeLevel/maxChargeproperty of the vehicle.Declaration
Swift
case maxCharge(Measurement<UnitEnergy>) -
Represents
TomTomSDKCommon/ElectricEngine/Efficiency/altitudeChangeEnergyproperty of the vehicle.Declaration
Swift
case altitudeChangeEnergy(AltitudeChangeEnergy) -
Represents
TomTomSDKCommon/ElectricEngine/Consumption/auxiliaryPowerproperty of the vehicle. RequiresTomTomSDKVehicle/ElectricEngineProperty/speedConsumption(_:)to be set.Declaration
Swift
case auxiliaryPower(Measurement<UnitPower>) -
Represents
TomTomSDKCommon/ElectricEngine/Consumption/speedConsumptionproperty of the vehicle.Declaration
Swift
case speedConsumption([Measurement<UnitSpeed> : Measurement<TTUnitElectricEfficiency>]) -
Represents
TomTomSDKCommon/ElectricEngine/Efficiency/velocityChangeproperty of the vehicle.Declaration
Swift
case velocityChangeEfficiency(VelocityChangeEfficiency) -
Represents
TomTomSDKCommon/ElectricEngine/Efficiency/altitudeChangeproperty of the vehicle.Declaration
Swift
case altitudeChangeEfficiency(AltitudeChangeEfficiency) -
Represents
TomTomSDKCommon/ElectricEngine/ChargingParameters/batteryCurveproperty of the vehicle.Declaration
Swift
case batteryCurve([Measurement<UnitEnergy> : Measurement<UnitPower>]) -
Represents
TomTomSDKCommon/ElectricEngine/ChargingParameters/chargingConnectorsproperty of the vehicle.Declaration
Swift
case chargingConnectors([ChargingConnector]) -
Represents
TomTomSDKCommon/ElectricEngine/ChargingParameters/chargingTimeOffsetproperty of the vehicle.Declaration
Swift
case chargingTimeOffset(Measurement<UnitDuration>)
-
Unique identifier of the property.
Declaration
Swift
public var id: PropertyID { get }
TomTom SDK for iOS (0.53.1)
ElectricEngineProperty