AltitudeChangeEnergy
public struct AltitudeChangeEnergy : Equatable, HashableSpecifies the energy that is gained or lost by altitude changes.
- 
                  
                  Creates an instance of AltitudeChangeEnergy.Throws VehicleError.invalidVehicleSnapshotifconsumptionForAltitudeGainis outside of [recuperationForAltitudeLoss … 500.0 kWh/km] range.Throws VehicleError.invalidVehicleSnapshotifrecuperationForAltitudeLossis outside of [0.0 kWh/km … consumptionForAltitudeGain] range.Note Applicable only for electric engines. DeclarationSwift public init ( consumptionForAltitudeGain: Measurement<TTUnitElectricEfficiency>, recuperationForAltitudeLoss: Measurement<TTUnitElectricEfficiency> ) throwsParametersconsumptionForAltitudeGainSpecifies the electric energy the vehicle consumes by going uphill (gaining elevation), e.g., kilowatt hours per kilometer. recuperationForAltitudeLossSpecifies the energy recouped while going downhill (losing altitude), e.g., kilowatt hours per kilometer. 
- 
                  
                  Specifies the electric energy the vehicle consumes through going uphill (gaining elevation), e.g., kilowatt hours per kilometer. Note Applicable only for electric engines.DeclarationSwift public let consumptionForAltitudeGain: Measurement<TTUnitElectricEfficiency>
- 
                  
                  Specifies the energy recouped while going downhill (losing altitude), e.g., kilowatt hours per kilometer. Note Applicable only for electric engines.DeclarationSwift public let recuperationForAltitudeLoss: Measurement<TTUnitElectricEfficiency>
 
         TomTom SDK for iOS (0.53.1)
 
          TomTom SDK for iOS (0.53.1)
         AltitudeChangeEnergy
          AltitudeChangeEnergy