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

withDecelerationEfficiency

@NonNull abstract fun withDecelerationEfficiency(decelerationEfficiency: Double!): IRouteQuery

Specifies the efficiency of converting kinetic energy to saved (not consumed) fuel when the vehicle decelerates (i.e., ChemicalEnergySaved/KineticEnergyLost). ChemicalEnergySaved is obtained by converting saved (not consumed) fuel to energy using fuelEnergyDensityInMJoulesPerLiter.

Parameters

decelerationEfficiency - Double!:

Return
IRouteQuery: The route query.