VehicleEfficiencyProtocol

@objc
public protocol VehicleEfficiencyProtocol

BETA Specifies the efficiency of the vehicle.

Experiment

THIS API IS IN BETA VERSION
  • Specifies the efficiency of converting chemical energy stored in fuel to potential energy when the vehicle gains elevation.

    Declaration

    Swift

    @objc
    optional var uphillEfficiency: Double { get set }
  • Specifies the efficiency of converting potential energy to saved (not consumed) fuel when the vehicle loses elevation.

    Declaration

    Swift

    @objc
    optional var downhillEfficiency: Double { get set }
  • Specifies the efficiency of converting chemical energy stored in fuel to kinetic energy when the vehicle accelerates.

    Declaration

    Swift

    @objc
    optional var accelerationEfficiency: Double { get set }
  • Specifies the efficiency of converting kinetic energy to saved (not consumed) fuel when the vehicle decelerates.

    Declaration

    Swift

    @objc
    optional var decelerationEfficiency: Double { get set }