ElectricEngineProperty
public enum ElectricEngineProperty
Electric engine property attributes.
Each ElectricEngineProperty represents one property of the
ElectricEngine model, and shares its PropertyID.
Used for updating vehicle’s electric engine state via
updateVehicleProperties(_:).
-
Represents
currentChargeproperty of the vehicle.Declaration
Swift
case currentCharge(Measurement<UnitEnergy>) -
Represents
maxChargeproperty of the vehicle.Declaration
Swift
case maxCharge(Measurement<UnitEnergy>) -
Represents
altitudeChangeEnergyproperty of the vehicle.Declaration
Swift
case altitudeChangeEnergy(AltitudeChangeEnergy) -
Represents
auxiliaryPowerproperty of the vehicle. RequiresspeedConsumption(_:)to be set.Declaration
Swift
case auxiliaryPower(Measurement<UnitPower>) -
Represents
speedConsumptionproperty of the vehicle.Declaration
Swift
case speedConsumption([Measurement<UnitSpeed> : Measurement<TTUnitElectricEfficiency>]) -
Represents
velocityChangeproperty of the vehicle.Declaration
Swift
case velocityChangeEfficiency(VelocityChangeEfficiency) -
Represents
altitudeChangeproperty of the vehicle.Declaration
Swift
case altitudeChangeEfficiency(AltitudeChangeEfficiency) -
Represents
batteryCurveproperty of the vehicle.Declaration
Swift
case batteryCurve([Measurement<UnitEnergy> : Measurement<UnitPower>]) -
Represents
chargingConnectorsproperty of the vehicle.Declaration
Swift
case chargingConnectors([ChargingConnector]) -
Represents
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.71.1)
ElectricEngineProperty