Android.Health.Connect.DataTypes.Units Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides types that represent units of measurement for Health Connect data.
Classes
| Name | Description |
|---|---|
| BloodGlucose |
Represents a unit of blood glucose level (glycaemia). |
| Energy |
Represents a unit of energy. |
| Length |
Represents a unit of length. |
| Mass |
Represents a unit of mass. |
| Percentage |
Represents a value as a percentage, not a fraction - for example 100%, 89.62%, etc. |
| Power |
Represents a unit of power. |
| Pressure |
Represents a unit of pressure. |
| Temperature |
Represents a unit of temperature. |
| TemperatureDelta |
Represents a unit of temperature difference. |
| Velocity |
Represents a unit of speed. |
| Volume |
Represents a unit of volume. |
Remarks
Use the static factory methods to create measurement values in the specified units, and the properties to read those values. For example, FromMeters(Double) creates a length in meters, and InMeters reads that length in meters.
Temperature represents a temperature, while TemperatureDelta represents a temperature difference.