sdk-routing / com.tomtom.online.sdk.data / CommonParams / withConstantSpeedConsumptionInLitersPerHundredKm

withConstantSpeedConsumptionInLitersPerHundredKm

abstract fun withConstantSpeedConsumptionInLitersPerHundredKm(constantSpeedConsumptionInLitersPerHundredKm: SpeedToConsumptionMap!): T

Specifies the speed-dependent component of consumption. It is provided as an unordered list of speed/consumption-rate in liters-per-100km pairs. Applicable only to combustion engines.

Parameters

constantSpeedConsumptionInLitersPerHundredKm - SpeedToConsumptionMap!: constraints: size - [1, 25], consumption value - [0.01, 100000.0]

Return
T: A reference to the common params object.