ElectricEngine

data class ElectricEngine(val consumption: ElectricVehicleConsumption? = null, val efficiency: ElectricVehicleEfficiency? = null, val chargeLevel: ChargeLevel? = null, val chargingParameters: ChargingParameters? = null)

Describes the engine of an electric vehicle.

Note: The parameter chargingParameters is supported only when chargingOptions are set in com.tomtom.sdk.routing.options.RoutePlanningOptions. Note: The parameters consumption, efficiency and chargingParameters are ignored if modelId is set inside Car (this applies to other motorized vehicles as well).

Constructors

Link copied to clipboard
constructor(consumption: ElectricVehicleConsumption? = null, efficiency: ElectricVehicleEfficiency? = null, chargeLevel: ChargeLevel? = null, chargingParameters: ChargingParameters? = null)

Properties

Link copied to clipboard

The current and maximum charge of the vehicle.

Link copied to clipboard

The charging information of the electric engine.

Link copied to clipboard

The consumption model of the vehicle.

Link copied to clipboard

The efficiency of the engine.