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

withConstantSpeedConsumptionInKWhPerHundredKm

abstract fun withConstantSpeedConsumptionInKWhPerHundredKm(constantSpeedConsumptionInKWhPerHundredKm: SpeedToConsumptionMap!): T

Specifies the speed-dependent component of consumption. Provided as an unordered list of speed/consumption-rate in kWh pairs. Applicable only to electric engines.

Parameters

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

Return
T: A reference to the common params object.