ChargingOptions
public struct ChargingOptions
                Represents the electric vehicle options that provide charging information.
- 
                  
                  
Creates a new
ChargingOptionsinstance with the given parameters.Note
The parameter avoidChargingParks is not yet supported with the Orbis map.
Declaration
Swift
public init( minChargeAtDestination: Measurement<UnitEnergy>, minChargeAtChargingStops: Measurement<UnitEnergy>, avoidChargingParks: [UUID] = [], chargingStopsStrategy: ChargingStopsStrategy = .automaticFastest )Parameters
minChargeAtDestinationMinimum charge the vehicle must have upon arrival at the destination.
minChargeAtChargingStopsMinimum charge the vehicle must have upon arrival at each charging stop. However, the remaining charge at the first charging stop may be lower.
avoidChargingParksCharging parks to be avoided when planning.
chargingStopsStrategySpecifies the charging stops strategy to be used.
 
- 
                  
                  
The minimal battery charge level the vehicle will have upon arrival at the destination.
Declaration
Swift
public let minChargeAtDestination: Measurement<UnitEnergy> - 
                  
                  
The desired minimum battery charge level upon arrival at each charging station. However, the remaining charge at the first charging stop may be lower.
Declaration
Swift
public let minChargeAtChargingStops: Measurement<UnitEnergy> - 
                  
                  
Charging parks to be avoided when planning.
Note
This option is not yet supported with the Orbis map.Declaration
Swift
public let avoidChargingParks: [UUID] - 
                  
                  
Specifies the charging stops strategy to be used.
Declaration
Swift
public let chargingStopsStrategy: ChargingStopsStrategy 
        
 
          TomTom SDK for iOS (0.40.0)
        
          ChargingOptions