Added in API level 34

android.health.connect.datatypes.units

Classes

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. 
Velocity Represents a unit of speed. 
Volume Represents a unit of volume.