ChargingOptions

data class ChargingOptions(val minChargeAtDestination: Energy = Energy.kilowattHours(0), val minChargeAtChargingStops: Energy = Energy.kilowattHours(0), val avoidChargingParks: List<UUID> = emptyList())

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.

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard