ElectricEngine

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

Represents the electric vehicle descriptor used during a route plan.

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).

Parameters

consumption

Specifies the consumption model of the electric vehicle.

efficiency

Specifies the efficiency of the engine.

chargeLevel

Specifies the current and maximum charge of the vehicle.

chargingParameters

Specifies the charging information of an electric engine.

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard