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

withConstantSpeedConsumptionInKWhPerHundredKm

@NonNull abstract fun withConstantSpeedConsumptionInKWhPerHundredKm(speedConsumptionInkWhPairs: SpeedToConsumptionMap!): IRouteQuery

Specifies the speed-dependent component of consumption. Provided as an unordered list of speed/consumption-rate in kWh pairs.

Parameters

speedConsumptionInkWhPairs - SpeedToConsumptionMap!:

Return
IRouteQuery: The route query.