sdk-routing / com.tomtom.online.sdk.routing.route.vehicle / VehicleEfficiency

VehicleEfficiency

@PublicPreview("2021.06") data class VehicleEfficiency

Specifies the efficiency of the vehicle.

Parameters

uphillEfficiency - Specifies the efficiency of converting chemical energy stored in fuel to potential energy when the vehicle gains elevation.

downhillEfficiency - Specifies the efficiency of converting potential energy to saved (not consumed) fuel when the vehicle loses elevation.

accelerationEfficiency - Specifies the efficiency of converting chemical energy stored in fuel to kinetic energy when the vehicle accelerates.

decelerationEfficiency - Specifies the efficiency of converting kinetic energy to saved (not consumed) fuel when the vehicle decelerates.

Types

Builder

class Builder

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

Properties

accelerationEfficiency

val accelerationEfficiency: Double?

Specifies the efficiency of converting chemical energy stored in fuel to kinetic energy when the vehicle accelerates.

decelerationEfficiency

val decelerationEfficiency: Double?

Specifies the efficiency of converting kinetic energy to saved (not consumed) fuel when the vehicle decelerates.

downhillEfficiency

val downhillEfficiency: Double?

Specifies the efficiency of converting potential energy to saved (not consumed) fuel when the vehicle loses elevation.

uphillEfficiency

val uphillEfficiency: Double?

Specifies the efficiency of converting chemical energy stored in fuel to potential energy when the vehicle gains elevation.