ChargingProtocol
@available(*, message: "TT_API_PUBLIC_PREVIEW('byTheEndOf=2020.12', 'This is under Public Preview and subject to change until the end date. More information is available at: https://developer.tomtom.com/public-preview'﹚")
@objc
public protocol ChargingProtocol
Public Preview
This is under Public Preview and subject to change by the end of 2020.12.
More information is available at: https://developer.tomtom.com/public-preview
Defines parameters related to charging the EV.
-
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 }
ChargingProtocol Protocol Reference