androidx.health.connect.client.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. |
TemperatureDelta |
Represents a unit of TemperatureDelta difference. |
Velocity |
Represents a unit of speed. |
Volume |
Represents a unit of volume. |
Extension properties summary
Energy |
Creates |
Energy |
Creates |
Energy |
Creates |
Energy |
Creates |
Temperature |
Creates |
Temperature |
Creates |
Temperature |
Creates |
Temperature |
Creates |
Temperature |
Creates |
Temperature |
Creates |
Temperature |
Creates |
Temperature |
Creates |
Length |
Creates |
Length |
Creates |
Length |
Creates |
Length |
Creates |
Volume |
Creates |
Volume |
Creates |
Volume |
Creates |
Volume |
Creates |
Mass |
Creates |
Mass |
Creates |
Mass |
Creates |
Mass |
Creates |
Length |
Creates |
Length |
Creates |
Length |
Creates |
Length |
Creates |
Energy |
Creates |
Energy |
Creates |
Energy |
Creates |
Energy |
Creates |
Energy |
Creates |
Energy |
Creates |
Energy |
Creates |
Energy |
Creates |
Power |
Creates |
Power |
Creates |
Power |
Creates |
Power |
Creates |
Mass |
Creates |
Mass |
Creates |
Mass |
Creates |
Mass |
Creates |
Energy |
Creates |
Energy |
Creates |
Energy |
Creates |
Energy |
Creates |
Length |
Creates |
Length |
Creates |
Length |
Creates |
Length |
Creates |
Velocity |
Creates |
Velocity |
Creates |
Velocity |
Creates |
Velocity |
Creates |
Volume |
Creates |
Volume |
Creates |
Volume |
Creates |
Volume |
Creates |
Length |
Creates |
Length |
Creates |
Length |
Creates |
Length |
Creates |
Velocity |
Creates |
Velocity |
Creates |
Velocity |
Creates |
Velocity |
Creates |
Mass |
Creates |
Mass |
Creates |
Mass |
Creates |
Mass |
Creates |
Length |
Creates |
Length |
Creates |
Length |
Creates |
Length |
Creates |
Velocity |
Creates |
Velocity |
Creates |
Velocity |
Creates |
Velocity |
Creates |
Mass |
Creates |
Mass |
Creates |
Mass |
Creates |
Mass |
Creates |
Volume |
Creates |
Volume |
Creates |
Volume |
Creates |
Volume |
Creates |
Pressure |
Creates |
Pressure |
Creates |
Pressure |
Creates |
Pressure |
Creates |
Mass |
Creates |
Mass |
Creates |
Mass |
Creates |
Mass |
Creates |
Percentage |
Creates |
Percentage |
Creates |
Percentage |
Creates |
Percentage |
Creates |
Mass |
Creates |
Mass |
Creates |
Mass |
Creates |
Mass |
Creates |
Power |
Creates |
Power |
Creates |
Power |
Creates |
Power |
Creates |
Extension properties
celsius
val Double.celsius: Temperature
Creates Temperature
with the specified value in Celsius degrees.
celsius
val Float.celsius: Temperature
Creates Temperature
with the specified value in Celsius degrees.
celsius
val Int.celsius: Temperature
Creates Temperature
with the specified value in Celsius degrees.
celsius
val Long.celsius: Temperature
Creates Temperature
with the specified value in Celsius degrees.
fahrenheit
val Double.fahrenheit: Temperature
Creates Temperature
with the specified value in Fahrenheit degrees.
fahrenheit
val Float.fahrenheit: Temperature
Creates Temperature
with the specified value in Fahrenheit degrees.
fahrenheit
val Int.fahrenheit: Temperature
Creates Temperature
with the specified value in Fahrenheit degrees.
fahrenheit
val Long.fahrenheit: Temperature
Creates Temperature
with the specified value in Fahrenheit degrees.
fluidOuncesUs
val Double.fluidOuncesUs: Volume
Creates Volume
with the specified value in US fluid ounces.
fluidOuncesUs
val Float.fluidOuncesUs: Volume
Creates Volume
with the specified value in US fluid ounces.
fluidOuncesUs
val Int.fluidOuncesUs: Volume
Creates Volume
with the specified value in US fluid ounces.
fluidOuncesUs
val Long.fluidOuncesUs: Volume
Creates Volume
with the specified value in US fluid ounces.
kilocalories
val Double.kilocalories: Energy
Creates Energy
with the specified value in kilocalories.
kilocalories
val Float.kilocalories: Energy
Creates Energy
with the specified value in kilocalories.
kilocaloriesPerDay
val Double.kilocaloriesPerDay: Power
Creates Power
with the specified value in kilocalories/day.
kilocaloriesPerDay
val Float.kilocaloriesPerDay: Power
Creates Power
with the specified value in kilocalories/day.
kilocaloriesPerDay
val Int.kilocaloriesPerDay: Power
Creates Power
with the specified value in kilocalories/day.
kilocaloriesPerDay
val Long.kilocaloriesPerDay: Power
Creates Power
with the specified value in kilocalories/day.
kilometersPerHour
val Double.kilometersPerHour: Velocity
Creates Velocity
with the specified value in kilometers per hour.
kilometersPerHour
val Float.kilometersPerHour: Velocity
Creates Velocity
with the specified value in kilometers per hour.
kilometersPerHour
val Int.kilometersPerHour: Velocity
Creates Velocity
with the specified value in kilometers per hour.
kilometersPerHour
val Long.kilometersPerHour: Velocity
Creates Velocity
with the specified value in kilometers per hour.
metersPerSecond
val Double.metersPerSecond: Velocity
Creates Velocity
with the specified value in meters per second.
metersPerSecond
val Float.metersPerSecond: Velocity
Creates Velocity
with the specified value in meters per second.
metersPerSecond
val Int.metersPerSecond: Velocity
Creates Velocity
with the specified value in meters per second.
metersPerSecond
val Long.metersPerSecond: Velocity
Creates Velocity
with the specified value in meters per second.
milesPerHour
val Double.milesPerHour: Velocity
Creates Velocity
with the specified value in miles per hour.
milesPerHour
val Float.milesPerHour: Velocity
Creates Velocity
with the specified value in miles per hour.
milesPerHour
val Int.milesPerHour: Velocity
Creates Velocity
with the specified value in miles per hour.
milesPerHour
val Long.milesPerHour: Velocity
Creates Velocity
with the specified value in miles per hour.
millimetersOfMercury
val Double.millimetersOfMercury: Pressure
Creates Pressure
with the specified value in millimeters of Mercury (mmHg).
millimetersOfMercury
val Float.millimetersOfMercury: Pressure
Creates Pressure
with the specified value in millimeters of Mercury (mmHg).
millimetersOfMercury
val Int.millimetersOfMercury: Pressure
Creates Pressure
with the specified value in millimeters of Mercury (mmHg).
millimetersOfMercury
val Long.millimetersOfMercury: Pressure
Creates Pressure
with the specified value in millimeters of Mercury (mmHg).
percent
val Double.percent: Percentage
Creates Percentage
with the specified percentage value, not a fraction.
percent
val Float.percent: Percentage
Creates Percentage
with the specified percentage value, not a fraction.
percent
val Int.percent: Percentage
Creates Percentage
with the specified percentage value, not a fraction.
percent
val Long.percent: Percentage
Creates Percentage
with the specified percentage value, not a fraction.