ElectricVehicleConsumption
@available(*, message: "TT_API_PUBLIC_PREVIEW('byTheEndOf=2020.12', 'This is under Public Preview and subject to change until the end date. More information is available at: https://developer.tomtom.com/public-preview'﹚")
@objc
public protocol ElectricVehicleConsumption
Public Preview
This is under Public Preview and subject to change by the end of 2020.12.
More information is available at: https://developer.tomtom.com/public-preview
Describes the capacity and the consumption of the EV.
-
Specifies the capacity of the vehicle’s battery in kilowatt hours (kWh). Applicable only for electric engines.
Declaration
Swift
@objc var maxChargeInkWh: Double { get set } -
Specifies the current electric energy supply in kilowatt hours (kWh). Applicable only for electric engines.
Declaration
Swift
@objc var currentChargeInkWh: Double { get set } -
Specifies the amount of power consumed for sustaining auxiliary systems, in kilowatts (kW). It can be used to specify consumption due to devices and systems such as AC systems, radio, heating, etc. Applicable only for electric engines.
Declaration
Swift
@objc var auxiliaryPowerInkW: Double { get set } -
Specifies the speed-dependent component of consumption. Provided as an unordered list of speed/consumption-rate in kWh pairs. Applicable only for electric engines.
Declaration
Swift
@objc var speedConsumptionInKWhPerHundredKm: [NSNumber : NSNumber] { get set }
ElectricVehicleConsumption Protocol Reference