CombustionEngine
public struct CombustionEngine
A combustion vehicle engine for route planning and consumption estimation.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates an instance of
CombustionEngine.Note
Parameters consumption, efficiency, and currentFuel are not yet supported with the Orbis map.
Declaration
Swift
public init( consumption: Consumption? = nil, efficiency: Efficiency? = nil, currentFuel: Measurement<UnitVolume>? = nil )Parameters
consumptionSpecifies the consumption model of the vehicle.
efficiencySpecifies the engine’s efficiency.
currentFuelCurrent amount of fuel, for example in liters.
-
Specifies the efficiency of the vehicle.
Note
This option is not yet supported with the Orbis map.See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct Efficiency -
Describes parameters used to determine the vehicle power and consumption.
Note
This option is not yet supported with the Orbis map.See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct Consumption -
Describes parameters used to determine the vehicle power and consumption.
Note
This option is not yet supported with the Orbis map.Declaration
Swift
public let consumption: Consumption? -
Specifies the efficiency of the engine.
Note
This option is not yet supported with the Orbis map.Declaration
Swift
public let efficiency: Efficiency? -
Current amount of fuel, for example in liters.
Note
This option is not yet supported with the Orbis map.Declaration
Swift
public let currentFuel: Measurement<UnitVolume>?
TomTom SDK for iOS (TomTomSDKMapMatchingEngineHybrid 0.38.0-rc01 Docs)
CombustionEngine