CombustionEngine

public struct CombustionEngine

A combustion vehicle engine for route planning and consumption estimation.

  • Creates an instance of CombustionEngine.

    Note

    The parameters consumption, efficiency and currentFuel are not supported when chargingOptions are set in RoutePlanningOptions.

    Note

    The 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

    consumption

    Specifies the consumption model of the vehicle.

    efficiency

    Specifies the engine’s efficiency.

    currentFuel

    Current amount of fuel, for example in liters.

  • Specifies the efficiency of the vehicle.

    Note

    This option is not supported when chargingOptions are set in RoutePlanningOptions.

    Note

    This option is not yet supported with the Orbis map.
    See more

    Declaration

    Swift

    public struct Efficiency
  • Describes parameters used to determine the vehicle power and consumption.

    Note

    This option is not supported when chargingOptions are set in RoutePlanningOptions.

    Note

    This option is not yet supported with the Orbis map.
    See more

    Declaration

    Swift

    public struct Consumption
  • Describes parameters used to determine the vehicle power and consumption.

    Note

    This option is not supported when chargingOptions are set in RoutePlanningOptions.

    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 supported when chargingOptions are set in RoutePlanningOptions.

    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 supported when chargingOptions are set in RoutePlanningOptions.

    Note

    This option is not yet supported with the Orbis map.

    Declaration

    Swift

    public let currentFuel: Measurement<UnitVolume>?