ChargingParameters
public struct ChargingParametersDescribes connector information of an electric engine.
- 
                  
                  Creates an instance of ChargingParameters.Throws VehicleError.invalidVehicleSnapshotif the state of charge is less than zero.Throws VehicleError.invalidVehicleSnapshotif maximum power is less or equal to zero.DeclarationSwift public init( batteryCurve: [Measurement<UnitEnergy>: Measurement<UnitPower>], chargingConnectors: [ChargingConnector], chargingTimeOffset: Measurement<UnitDuration>? = nil ) throwsParametersbatteryCurveSpecifies the battery curve. Each entry describes a battery point, that consists of a state of charge and maximum power. Important remarks: chargingConnectorsSpecifies the available charging connector types. chargingTimeOffsetSpecifies the duration of charging time offset. If not specified the default value of 60s applies. Must be larger than or equal to zero. 
- 
                  
                  Specifies the battery curve. DeclarationSwift public let batteryCurve: [Measurement<UnitEnergy> : Measurement<UnitPower>]
- 
                  
                  Specifies the available charging connector types. DeclarationSwift public let chargingConnectors: [ChargingConnector]
- 
                  
                  Specifies the charging time offset. DeclarationSwift public let chargingTimeOffset: Measurement<UnitDuration>?
 
         TomTom SDK for iOS (0.53.1)
 
          TomTom SDK for iOS (0.53.1)
         ChargingParameters
          ChargingParameters