sdk-routing / com.tomtom.online.sdk.routing.ev.charging / ChargingDescriptor

ChargingDescriptor

@Beta(2020, 12) data class ChargingDescriptor : Serializable

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.

Constructors

<init>

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

Defines parameters related to charging the EV.

Properties

chargingModes

val chargingModes: List<ChargingMode>

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.

minChargeAtChargingStopsInkWh

val minChargeAtChargingStopsInkWh: Double

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

minChargeAtDestinationInkWh

val minChargeAtDestinationInkWh: Double

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