sdk-routing / com.tomtom.online.sdk.routing.route / ElectricVehicleDescriptor

ElectricVehicleDescriptor

@PublicPreview("2021.06") data class ElectricVehicleDescriptor

Represents the electric vehicle descriptor used during a route plan.

Parameters

vehicleDimensions - Specifies the dimensions of the vehicle.

vehicleEfficiency - Specifies the efficiency of the vehicle.

vehicleRestrictions - Specifies the restriction that this vehicle should be subjected to.

vehicleConsumption - Specifies the consumption model of the electric vehicle.

Types

Builder

class Builder

Builder used to create an instance of ElectricVehicleDescriptor. Once constructed, the user cannot change the field values.

Properties

engineType

val engineType: VehicleEngineType

vehicleConsumption

val vehicleConsumption: ElectricVehicleConsumption

Specifies the consumption model of the electric vehicle.

vehicleDimensions

val vehicleDimensions: VehicleDimensions?

Specifies the dimensions of the vehicle.

vehicleEfficiency

val vehicleEfficiency: VehicleEfficiency?

Specifies the efficiency of the vehicle.

vehicleRestrictions

val vehicleRestrictions: VehicleRestrictions?

Specifies the restriction that this vehicle should be subjected to.