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

    Declaration

    Swift

    case currentCharge(Measurement<UnitEnergy>)
  • Represents TomTomSDKCommon/ElectricEngine/ChargeLevel/maxCharge property of the vehicle.

    Declaration

    Swift

    case maxCharge(Measurement<UnitEnergy>)
  • Represents TomTomSDKCommon/ElectricEngine/Efficiency/altitudeChangeEnergy property of the vehicle.

    Declaration

    Swift

    case altitudeChangeEnergy(AltitudeChangeEnergy)
  • Represents TomTomSDKCommon/ElectricEngine/Consumption/auxiliaryPower property of the vehicle. Requires TomTomSDKVehicle/ElectricEngineProperty/speedConsumption(_:) to be set.

    Declaration

    Swift

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

    Declaration

    Swift

    case speedConsumption([Measurement<UnitSpeed> : Measurement<TTUnitElectricEfficiency>])
  • Represents TomTomSDKCommon/ElectricEngine/Efficiency/velocityChange property of the vehicle.

    Declaration

    Swift

    case velocityChangeEfficiency(VelocityChangeEfficiency)
  • Represents TomTomSDKCommon/ElectricEngine/Efficiency/altitudeChange property of the vehicle.

    Declaration

    Swift

    case altitudeChangeEfficiency(AltitudeChangeEfficiency)
  • Represents TomTomSDKCommon/ElectricEngine/ChargingParameters/batteryCurve property of the vehicle.

    Declaration

    Swift

    case batteryCurve([Measurement<UnitEnergy> : Measurement<UnitPower>])
  • Represents TomTomSDKCommon/ElectricEngine/ChargingParameters/chargingConnectors property of the vehicle.

    Declaration

    Swift

    case chargingConnectors([ChargingConnector])
  • Represents TomTomSDKCommon/ElectricEngine/ChargingParameters/chargingTimeOffset property of the vehicle.

    Declaration

    Swift

    case chargingTimeOffset(Measurement<UnitDuration>)
  • id

    Unique identifier of the property.

    Declaration

    Swift

    public var id: PropertyID { get }