ElectricEngine

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

Represents the electric vehicle descriptor used during a route plan.

Important: This is a Public Preview API. It may be changed or removed at any time.

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.

Constructors

Link copied to clipboard
fun ElectricEngine(    consumption: ElectricVehicleConsumption? = null,     efficiency: ElectricVehicleEfficiency? = null,     chargeLevel: ChargeLevel? = null)

Properties

Link copied to clipboard
val chargeLevel: ChargeLevel? = null
Link copied to clipboard
val consumption: ElectricVehicleConsumption? = null
Link copied to clipboard
val efficiency: ElectricVehicleEfficiency? = null
Link copied to clipboard
val engineType: VehicleEngineType