ElectricEngine
public struct ElectricEngine
A electric 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
ElectricEngine.Note
Parameters consumption, efficiency, and chargingParameters are not yet supported with the Orbis map.
Declaration
Swift
public init( consumption: Consumption? = nil, efficiency: Efficiency? = nil, chargeLevel: ChargeLevel? = nil, chargingParameters: ChargingParameters? = nil )Parameters
consumptionSpecifies the consumption model of the electric vehicle.
efficiencySpecifies the efficiency of the engine.
chargeLevelSpecifies the current and maximum charge of the vehicle.
chargingParametersSpecifies the charging parameters of the vehicle.
-
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 capacity and the consumption of the EV.
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 capacity and current charge of the EV.
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct ChargeLevel -
Describes connector information of an electric engine.
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 ChargingParameters -
Describes capacity and the consumption of the EV.
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? -
Specifies the current and maximum charge of the vehicle.
Declaration
Swift
public let chargeLevel: ChargeLevel? -
Specifies the charging parameters of the vehicle.
Note
This option is not yet supported with the Orbis map.Declaration
Swift
public let chargingParameters: ChargingParameters?
TomTom SDK for iOS (TomTomSDKMapMatchingEngineHybrid 0.38.0-rc01 Docs)
ElectricEngine