Efficiency
public struct Efficiency
                Specifies the efficiency of the vehicle.
Note
This option is not yet supported with the Orbis map.Important
This is a Public Preview API. It may be changed or removed at any time.- 
                  
                  
Creates an instance of
Efficiency.Throws
VehicleError.invalidVehicleSnapshotif the altitude change energy cannot be used together with altitude change efficiency and the velocity change efficiency.Declaration
Swift
public init( velocityChange: VelocityChangeEfficiency? = nil, altitudeChange: AltitudeChangeEfficiency? = nil, altitudeChangeEnergy: AltitudeChangeEnergy? = nil ) throwsParameters
velocityChangeSpecifies the efficiency of converting electric energy to kinetic energy due to accelerations, or vice versa for decelerations.
altitudeChangeSpecifies the efficiency of converting electric energy to potential energy due to increase in altitude, or vice versa for decreases.
altitudeChangeEnergySpecifies the additional consumption and recuperation of electric energy due to altitude changes. Cannot be used together with the other two options.
 
- 
                  
                  
Specifies the efficiency of converting electric energy to kinetic energy due to accelerations, or vice versa for decelerations.
Declaration
Swift
public let velocityChange: VelocityChangeEfficiency? - 
                  
                  
Specifies the efficiency of converting electric energy to potential energy due to increase in altitude, or vice versa for decreases.
Declaration
Swift
public let altitudeChange: AltitudeChangeEfficiency? - 
                  
                  
Specifies the additional consumption and recuperation of electric energy due to altitude changes. Cannot be used together with the other two options.
Declaration
Swift
public let altitudeChangeEnergy: AltitudeChangeEnergy? 
        
 
          TomTom SDK for iOS (TomTomSDKMapMatchingEngineHybrid 0.38.0-rc01 Docs)
        
          Efficiency