ChargingProtocol

@objc
public protocol ChargingProtocol

BETA Defines parameters related to charging the EV.

Experiment

THIS API IS IN BETA VERSION
  • The battery level upon arrival at the destination of the resulting route will

    Declaration

    Swift

    @objc
    var minChargeAtDestinationInkWh: Double { get set }
  • 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

    Declaration

    Swift

    @objc
    var minChargeAtChargingStopsInkWh: Double { get set }
  • 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.

    Declaration

    Swift

    @objc
    var chargingModes: [ChargingMode] { get set }