ChargingOptions

data class ChargingOptions(val minChargeAtDestination: Energy, val minChargeAtChargingStops: Energy, val avoidChargingParks: List<UUID> = emptyList(), val chargingStopsStrategy: ChargingStopsStrategy = ChargingStopsStrategy.AutomaticFastest)

Represents the electric vehicle options that provide charging information.

Important: This is a Public Preview API. It may be changed or removed at any time.

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.

Constructors

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

Properties