Unit Types
Unit of measure for a health metric.
Accompanies the numeric values returned in health and activity payloads so a consumer can render the correct suffix and convert between systems without guessing from context. Group the values by what they measure:
Energy: CALORIE, KILOCALORIE
Count: STEP
Temperature: DEGREE_CELSIUS, DEGREE_FAHRENHEIT
Ratio: PERCENTAGE
The SDK does not convert between units on your behalf — render or convert using whichever member-facing system (metric/imperial) your app prefers.
Entries
Energy in small calories (cal). Note: dietary "Calories" are KILOCALORIE.
Energy in kilocalories (kcal) — the unit shown on nutrition labels as "Calories".
Temperature in degrees Celsius.
Temperature in degrees Fahrenheit.
A ratio expressed as a percentage in the range 0–100.