VehicleEfficiencyProtocol

@available(*, message: "TT_API_PUBLIC_PREVIEW('byTheEndOf=2020.12', 'This is under Public Preview and subject to change until the end date. More information is available at: https://developer.tomtom.com/public-preview'﹚")
@objc
public protocol VehicleEfficiencyProtocol

Public Preview

This is under Public Preview and subject to change by the end of 2020.12. More information is available at: https://developer.tomtom.com/public-preview

Specifies the efficiency of the vehicle.

  • 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 }