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

withMaxChargeInKWh

abstract fun withMaxChargeInKWh(maxChargeInKWh: Double!): T

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

Parameters

maxChargeInKWh - Double!:

Return
T: A reference to the common params object.