ElectricEngineProperty

public enum ElectricEngineProperty

Electric engine property attributes.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • 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>)

Public

  • id

    Unique identifier of the property.

    Declaration

    Swift

    public var id: PropertyID { get }