sdk-routing / com.tomtom.online.sdk.routing.ev.charging / ChargingDescriptor / <init>

<init>

ChargingDescriptor(minChargeAtDestinationInkWh: Double, minChargeAtChargingStopsInkWh: Double, chargingModes: List<ChargingMode>)

Defines parameters related to charging the EV.

Parameters

minChargeAtDestinationInkWh - The battery level upon arrival at the destination of the resulting route will be at least this much. Maximum value: maxChargeInkWh

minChargeAtChargingStopsInkWh - The battery level upon arrival at each intermediate charging stop of the resulting route will be at least this much. Maximum value: 0.2 × maxChargeInkWh

chargingModes - A non-empty list of at most 10 chargingModes, which the vehicle is able to use to charge. Each chargingConnection appears in at most one chargingMode.