# Record

Artifact: [androidx.health.connect:connect-client](https://developer.android.com/jetpack/androidx/releases/health-connect) [View Source](https://cs.android.com/search?q=file:androidx/health/connect/client/records/Record.kt+class:androidx.health.connect.client.records.Record) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

*** ** * ** ***


```
public interface Record
```

<br />

Known direct subclasses [ActiveCaloriesBurnedRecord](https://developer.android.com/reference/androidx/health/connect/client/records/ActiveCaloriesBurnedRecord), [ActivityIntensityRecord](https://developer.android.com/reference/androidx/health/connect/client/records/ActivityIntensityRecord), [BasalBodyTemperatureRecord](https://developer.android.com/reference/androidx/health/connect/client/records/BasalBodyTemperatureRecord), [BasalMetabolicRateRecord](https://developer.android.com/reference/androidx/health/connect/client/records/BasalMetabolicRateRecord), [BloodGlucoseRecord](https://developer.android.com/reference/androidx/health/connect/client/records/BloodGlucoseRecord), [BloodPressureRecord](https://developer.android.com/reference/androidx/health/connect/client/records/BloodPressureRecord), [BodyFatRecord](https://developer.android.com/reference/androidx/health/connect/client/records/BodyFatRecord), [BodyTemperatureRecord](https://developer.android.com/reference/androidx/health/connect/client/records/BodyTemperatureRecord), [BodyWaterMassRecord](https://developer.android.com/reference/androidx/health/connect/client/records/BodyWaterMassRecord), [BoneMassRecord](https://developer.android.com/reference/androidx/health/connect/client/records/BoneMassRecord), [CervicalMucusRecord](https://developer.android.com/reference/androidx/health/connect/client/records/CervicalMucusRecord), [CyclingPedalingCadenceRecord](https://developer.android.com/reference/androidx/health/connect/client/records/CyclingPedalingCadenceRecord), [DistanceRecord](https://developer.android.com/reference/androidx/health/connect/client/records/DistanceRecord), [ElevationGainedRecord](https://developer.android.com/reference/androidx/health/connect/client/records/ElevationGainedRecord), [ExerciseSessionRecord](https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseSessionRecord), [FloorsClimbedRecord](https://developer.android.com/reference/androidx/health/connect/client/records/FloorsClimbedRecord), [HeartRateRecord](https://developer.android.com/reference/androidx/health/connect/client/records/HeartRateRecord), [HeartRateVariabilityRmssdRecord](https://developer.android.com/reference/androidx/health/connect/client/records/HeartRateVariabilityRmssdRecord), [HeightRecord](https://developer.android.com/reference/androidx/health/connect/client/records/HeightRecord), [HydrationRecord](https://developer.android.com/reference/androidx/health/connect/client/records/HydrationRecord), [IntermenstrualBleedingRecord](https://developer.android.com/reference/androidx/health/connect/client/records/IntermenstrualBleedingRecord), [LeanBodyMassRecord](https://developer.android.com/reference/androidx/health/connect/client/records/LeanBodyMassRecord), [MenstruationFlowRecord](https://developer.android.com/reference/androidx/health/connect/client/records/MenstruationFlowRecord), [MenstruationPeriodRecord](https://developer.android.com/reference/androidx/health/connect/client/records/MenstruationPeriodRecord), [MindfulnessSessionRecord](https://developer.android.com/reference/androidx/health/connect/client/records/MindfulnessSessionRecord), [NutritionRecord](https://developer.android.com/reference/androidx/health/connect/client/records/NutritionRecord), [OvulationTestRecord](https://developer.android.com/reference/androidx/health/connect/client/records/OvulationTestRecord), [OxygenSaturationRecord](https://developer.android.com/reference/androidx/health/connect/client/records/OxygenSaturationRecord), [PlannedExerciseSessionRecord](https://developer.android.com/reference/androidx/health/connect/client/records/PlannedExerciseSessionRecord), [PowerRecord](https://developer.android.com/reference/androidx/health/connect/client/records/PowerRecord), [RespiratoryRateRecord](https://developer.android.com/reference/androidx/health/connect/client/records/RespiratoryRateRecord), [RestingHeartRateRecord](https://developer.android.com/reference/androidx/health/connect/client/records/RestingHeartRateRecord), [SexualActivityRecord](https://developer.android.com/reference/androidx/health/connect/client/records/SexualActivityRecord), [SkinTemperatureRecord](https://developer.android.com/reference/androidx/health/connect/client/records/SkinTemperatureRecord), [SleepSessionRecord](https://developer.android.com/reference/androidx/health/connect/client/records/SleepSessionRecord), [SpeedRecord](https://developer.android.com/reference/androidx/health/connect/client/records/SpeedRecord), [StepsCadenceRecord](https://developer.android.com/reference/androidx/health/connect/client/records/StepsCadenceRecord), [StepsRecord](https://developer.android.com/reference/androidx/health/connect/client/records/StepsRecord), [TotalCaloriesBurnedRecord](https://developer.android.com/reference/androidx/health/connect/client/records/TotalCaloriesBurnedRecord), [Vo2MaxRecord](https://developer.android.com/reference/androidx/health/connect/client/records/Vo2MaxRecord), [WeightRecord](https://developer.android.com/reference/androidx/health/connect/client/records/WeightRecord), [WheelchairPushesRecord](https://developer.android.com/reference/androidx/health/connect/client/records/WheelchairPushesRecord)

|---|---|
| `https://developer.android.com/reference/androidx/health/connect/client/records/ActiveCaloriesBurnedRecord` | Captures the estimated active energy burned by the user (in kilocalories), excluding basal metabolic rate (BMR). |
| `https://developer.android.com/reference/androidx/health/connect/client/records/ActivityIntensityRecord` | Represents intensity of an activity. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/BasalBodyTemperatureRecord` | Captures the body temperature of a user when at rest (for example, immediately after waking up). |
| `https://developer.android.com/reference/androidx/health/connect/client/records/BasalMetabolicRateRecord` | Captures the BMR of a user. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/BloodGlucoseRecord` | Captures the concentration of glucose in the blood. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/BloodPressureRecord` | Captures the blood pressure of a user. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/BodyFatRecord` | Captures the body fat percentage of a user. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/BodyTemperatureRecord` | Captures the body temperature of a user. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/BodyWaterMassRecord` | Captures the user's body water mass. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/BoneMassRecord` | Captures the user's bone mass. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/CervicalMucusRecord` | Captures the description of cervical mucus. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/CyclingPedalingCadenceRecord` | Captures the user's cycling pedaling cadence. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/DistanceRecord` | Captures distance travelled by the user since the last reading. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/ElevationGainedRecord` | Captures the elevation gained by the user since the last reading. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/ExerciseSessionRecord` | Captures any exercise a user does. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/FloorsClimbedRecord` | Captures the number of floors climbed by the user since the last reading. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/HeartRateRecord` | Captures the user's heart rate. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/HeartRateVariabilityRmssdRecord` | Captures user's heart rate variability (HRV) as measured by the root mean square of successive differences (RMSSD) between normal heartbeats. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/HeightRecord` | Captures the user's height. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/HydrationRecord` | Captures how much water a user drank in a single drink. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/IntermenstrualBleedingRecord` | Captures an instance of user's intermenstrual bleeding, also known as spotting. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/LeanBodyMassRecord` | Captures the user's lean body mass. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/MenstruationFlowRecord` | Captures a description of how heavy a user's menstrual flow was (light, medium, or heavy). |
| `https://developer.android.com/reference/androidx/health/connect/client/records/MenstruationPeriodRecord` | Captures user's menstruation periods. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/MindfulnessSessionRecord` | Captures any mindfulness session a user does. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/NutritionRecord` | Captures what nutrients were consumed as part of a meal or a food item. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/OvulationTestRecord` | Each record represents the result of an ovulation test. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/OxygenSaturationRecord` | Captures the amount of oxygen circulating in the blood, measured as a percentage of oxygen-saturated hemoglobin. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/PlannedExerciseSessionRecord` | Captures a planned exercise session, also commonly referred to as a training plan. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/PowerRecord` | Captures the power generated by the user, e.g. during cycling or rowing with a power meter. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/RespiratoryRateRecord` | Captures the user's respiratory rate. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/RestingHeartRateRecord` | Captures the user's resting heart rate. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/SexualActivityRecord` | Captures an occurrence of sexual activity. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/SkinTemperatureRecord` | Captures the skin temperature of a user. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/SleepSessionRecord` | Captures the user's sleep length and its stages. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/SpeedRecord` | Captures the user's speed, e.g. during running or cycling. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/StepsCadenceRecord` | Captures the user's steps cadence. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/StepsRecord` | Captures the number of steps taken since the last reading. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/TotalCaloriesBurnedRecord` | Total energy burned by the user (in kilocalories), including active \& basal energy burned (BMR). |
| `https://developer.android.com/reference/androidx/health/connect/client/records/Vo2MaxRecord` | Capture user's VO2 max score and optionally the measurement method. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/WeightRecord` | Captures the user's weight. |
| `https://developer.android.com/reference/androidx/health/connect/client/records/WheelchairPushesRecord` | Captures the number of wheelchair pushes done since the last reading. |

*** ** * ** ***

Common interface shared by readable or writable records.

## Summary

| ### Public methods |
|---|---|
| `abstract @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/health/connect/client/records/metadata/Metadata` | `https://developer.android.com/reference/androidx/health/connect/client/records/Record#getMetadata()()` Set of common metadata associated with the written record. |

## Public methods

### getMetadata

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/health-connect#1.1.0)

```
abstract @NonNull Metadata getMetadata()
```

Set of common metadata associated with the written record.