sdk-routing / com.tomtom.online.sdk.routing.data / RouteQueryBuilder / withMaxChargeInKWh

withMaxChargeInKWh

fun withMaxChargeInKWh(maxChargeInKWh: Double): RouteQueryBuilder

Overrides IRouteQuery.withMaxChargeInKWh

Specifies the capacity of the vehicle's battery in kilowatt hours (kWh). Applicable only for electric engines. If used at all, must be used in conjunction with .withCurrentChargeInKWh.

Parameters

maxChargeInKWh -

Return
reference to the common params object