Consumption
public enum Consumption : Hashable
extension Consumption: CustomStringConvertible
Represents a consumed or remaining amount of fuel or electric energy.
-
Fuel with given
volume, e.g., in liters.Declaration
Swift
case fuel(volume: Measurement<UnitVolume>) -
Energy with given
amount, e.g., in kilowatt hours.Declaration
Swift
case energy(amount: Measurement<UnitEnergy>)
-
A textual representation of the
Consumptionenum.Declaration
Swift
public var description: String { get }
TomTom SDK for iOS (0.53.1)
Consumption