ChargingOptions

data class ChargingOptions(val minChargeAtDestination: Energy = Energy.kilowattHours(0), val minChargeAtChargingStops: Energy = Energy.kilowattHours(0))

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.

Constructors

Link copied to clipboard
fun ChargingOptions(minChargeAtDestination: Energy = Energy.kilowattHours(0), minChargeAtChargingStops: Energy = Energy.kilowattHours(0))

Properties