Unit is set based on the type of language; there are four different types of options,
Name |
Description |
default |
Provided by iHealth APIs system |
en_US |
U.S. general unit |
en_UK |
English general unit |
user |
User preference |
The details of types of units,
default
Name |
Unit |
HeightUnit |
cm |
WeightUnit |
kg |
BPUnit |
mmHg |
BGUnit |
mg/dl |
FoodUnit |
g |
DistanceUnit |
km |
TemperatureUnit |
℉ |
HeartrateUnit |
bpm |
en_US
Name |
Unit |
HeightUnit |
feet |
WeightUnit |
lbs |
BPUnit |
mmHg |
BGUnit |
mg/dl |
FoodUnit |
oz |
DistanceUnit |
mile |
TemperatureUnit |
℉ |
en_UK
Name |
Unit |
HeightUnit |
cm |
WeightUnit |
stone |
BPUnit |
mmHg |
BGUnit |
mmol/l |
FoodUnit |
g |
DistanceUnit |
km |
TemperatureUnit |
℉ |
HeightUnit
WeightUnit
Unit |
Value |
kg |
0 |
lbs |
1 |
stone |
2 |
BPUnit
BGUnit
Unit |
Value |
mg/dl |
0 |
mmol/l |
1 |
FoodUnit
DistanceUnit
TemperatureUnit
The unit type depends on the preferences the user sets from iHealth cloud / App, it will return the unit that the user sets.