Type Method

jouleUnit

Returns a HealthKit unit for measuring energy in joules.

Declaration

+ (instancetype)jouleUnit;

Return Value

A HealthKit unit for measuring energy in joules.

See Also

Constructing Energy Units

+ jouleUnitWithMetricPrefix:

Returns a HealthKit unit for measuring energy, using joule units with the provided prefix.

+ calorieUnit

Returns a HealthKit unit for measuring energy in calories.

Deprecated
+ kilocalorieUnit

Returns a HealthKit unit for measuring energy in kilocalories.

+ largeCalorieUnit

Returns a HealthKit unit for measuring energy in large calories (Cal).

+ smallCalorieUnit

Returns a HealthKit unit for measuring energy in small calories (cal).