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