ChargingOptions

constructor(minChargeAtDestination: Energy, minChargeAtChargingStops: Energy, avoidChargingParks: List<UUID> = emptyList(), chargingStopsStrategy: ChargingStopsStrategy = ChargingStopsStrategy.AutomaticFastest)

Parameters

minChargeAtDestination

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

minChargeAtChargingStops

The desired minimum battery charge level upon arrival at each charging station. However, the remaining charge at the first charging stop may be lower.

avoidChargingParks

Charging parks not to be considered for charging.

chargingStopsStrategy

Specifies the charging stops strategy to be used by the Online Routing service.