androidx.health.connect.client.records  |  API reference  |  Android Developers (original) (raw)

[ActiveCaloriesBurnedRecord](/reference/kotlin/androidx/health/connect/client/records/ActiveCaloriesBurnedRecord)

Captures the estimated active energy burned by the user (in kilocalories), excluding basal metabolic rate (BMR).

[ActivityIntensityRecord](/reference/kotlin/androidx/health/connect/client/records/ActivityIntensityRecord)

Represents intensity of an activity.

[BasalBodyTemperatureRecord](/reference/kotlin/androidx/health/connect/client/records/BasalBodyTemperatureRecord)

Captures the body temperature of a user when at rest (for example, immediately after waking up).

[BasalMetabolicRateRecord](/reference/kotlin/androidx/health/connect/client/records/BasalMetabolicRateRecord)

Captures the BMR of a user.

[BloodGlucoseRecord](/reference/kotlin/androidx/health/connect/client/records/BloodGlucoseRecord)

Captures the concentration of glucose in the blood.

[BloodPressureRecord](/reference/kotlin/androidx/health/connect/client/records/BloodPressureRecord)

Captures the blood pressure of a user.

[BodyFatRecord](/reference/kotlin/androidx/health/connect/client/records/BodyFatRecord)

Captures the body fat percentage of a user.

[BodyTemperatureRecord](/reference/kotlin/androidx/health/connect/client/records/BodyTemperatureRecord)

Captures the body temperature of a user.

[BodyWaterMassRecord](/reference/kotlin/androidx/health/connect/client/records/BodyWaterMassRecord)

Captures the user's body water mass.

[BoneMassRecord](/reference/kotlin/androidx/health/connect/client/records/BoneMassRecord)

Captures the user's bone mass.

[CervicalMucusRecord](/reference/kotlin/androidx/health/connect/client/records/CervicalMucusRecord)

Captures the description of cervical mucus.

[CyclingPedalingCadenceRecord](/reference/kotlin/androidx/health/connect/client/records/CyclingPedalingCadenceRecord)

Captures the user's cycling pedaling cadence.

[CyclingPedalingCadenceRecord.Sample](/reference/kotlin/androidx/health/connect/client/records/CyclingPedalingCadenceRecord.Sample)

Represents a single measurement of the cycling pedaling cadence.

[DistanceRecord](/reference/kotlin/androidx/health/connect/client/records/DistanceRecord)

Captures distance travelled by the user since the last reading.

[ElevationGainedRecord](/reference/kotlin/androidx/health/connect/client/records/ElevationGainedRecord)

Captures the elevation gained by the user since the last reading.

[ExerciseCompletionGoal](/reference/kotlin/androidx/health/connect/client/records/ExerciseCompletionGoal)

A goal which should be met to complete a [PlannedExerciseStep](/reference/kotlin/androidx/health/connect/client/records/PlannedExerciseStep).

[ExerciseCompletionGoal.ActiveCaloriesBurnedGoal](/reference/kotlin/androidx/health/connect/client/records/ExerciseCompletionGoal.ActiveCaloriesBurnedGoal)

An [ExerciseCompletionGoal](/reference/kotlin/androidx/health/connect/client/records/ExerciseCompletionGoal) that requires a specified number of active calories to be burned.

[ExerciseCompletionGoal.DistanceAndDurationGoal](/reference/kotlin/androidx/health/connect/client/records/ExerciseCompletionGoal.DistanceAndDurationGoal)

An [ExerciseCompletionGoal](/reference/kotlin/androidx/health/connect/client/records/ExerciseCompletionGoal) that requires covering a specified distance.

[ExerciseCompletionGoal.DistanceGoal](/reference/kotlin/androidx/health/connect/client/records/ExerciseCompletionGoal.DistanceGoal)

An [ExerciseCompletionGoal](/reference/kotlin/androidx/health/connect/client/records/ExerciseCompletionGoal) that requires covering a specified distance.

[ExerciseCompletionGoal.DurationGoal](/reference/kotlin/androidx/health/connect/client/records/ExerciseCompletionGoal.DurationGoal)

An [ExerciseCompletionGoal](/reference/kotlin/androidx/health/connect/client/records/ExerciseCompletionGoal) that requires a specified duration to elapse.

[ExerciseCompletionGoal.RepetitionsGoal](/reference/kotlin/androidx/health/connect/client/records/ExerciseCompletionGoal.RepetitionsGoal)

An [ExerciseCompletionGoal](/reference/kotlin/androidx/health/connect/client/records/ExerciseCompletionGoal) that requires a specified number of repetitions to be completed.

[ExerciseCompletionGoal.StepsGoal](/reference/kotlin/androidx/health/connect/client/records/ExerciseCompletionGoal.StepsGoal)

An [ExerciseCompletionGoal](/reference/kotlin/androidx/health/connect/client/records/ExerciseCompletionGoal) that requires completing a specified number of steps.

[ExerciseCompletionGoal.TotalCaloriesBurnedGoal](/reference/kotlin/androidx/health/connect/client/records/ExerciseCompletionGoal.TotalCaloriesBurnedGoal)

An [ExerciseCompletionGoal](/reference/kotlin/androidx/health/connect/client/records/ExerciseCompletionGoal) that requires a specified number of total calories to be burned.

[ExerciseLap](/reference/kotlin/androidx/health/connect/client/records/ExerciseLap)

Captures the time of a lap within an exercise session.

[ExercisePerformanceTarget](/reference/kotlin/androidx/health/connect/client/records/ExercisePerformanceTarget)

An ongoing target that should be met during a [PlannedExerciseStep](/reference/kotlin/androidx/health/connect/client/records/PlannedExerciseStep).

[ExercisePerformanceTarget.CadenceTarget](/reference/kotlin/androidx/health/connect/client/records/ExercisePerformanceTarget.CadenceTarget)

An [ExercisePerformanceTarget](/reference/kotlin/androidx/health/connect/client/records/ExercisePerformanceTarget) that requires a target cadence range to be met during the associated [PlannedExerciseStep](/reference/kotlin/androidx/health/connect/client/records/PlannedExerciseStep).The value may be interpreted as RPM for e.g. cycling activities, or as steps per minute for e.g. walking/running activities.

[ExercisePerformanceTarget.HeartRateTarget](/reference/kotlin/androidx/health/connect/client/records/ExercisePerformanceTarget.HeartRateTarget)

An [ExercisePerformanceTarget](/reference/kotlin/androidx/health/connect/client/records/ExercisePerformanceTarget) that requires a target heart rate range, in BPM, to be met during the associated {@link PlannedExerciseStep}.

[ExercisePerformanceTarget.PowerTarget](/reference/kotlin/androidx/health/connect/client/records/ExercisePerformanceTarget.PowerTarget)

An [ExercisePerformanceTarget](/reference/kotlin/androidx/health/connect/client/records/ExercisePerformanceTarget) that requires a target power range to be met during the associated [PlannedExerciseStep](/reference/kotlin/androidx/health/connect/client/records/PlannedExerciseStep).

[ExercisePerformanceTarget.RateOfPerceivedExertionTarget](/reference/kotlin/androidx/health/connect/client/records/ExercisePerformanceTarget.RateOfPerceivedExertionTarget)

An [ExercisePerformanceTarget](/reference/kotlin/androidx/health/connect/client/records/ExercisePerformanceTarget) that requires a target RPE (rate of perceived exertion) to be met during the associated {@link PlannedExerciseStep}.

[ExercisePerformanceTarget.SpeedTarget](/reference/kotlin/androidx/health/connect/client/records/ExercisePerformanceTarget.SpeedTarget)

An [ExercisePerformanceTarget](/reference/kotlin/androidx/health/connect/client/records/ExercisePerformanceTarget) that requires a target speed range to be met during the associated [PlannedExerciseStep](/reference/kotlin/androidx/health/connect/client/records/PlannedExerciseStep).

[ExercisePerformanceTarget.WeightTarget](/reference/kotlin/androidx/health/connect/client/records/ExercisePerformanceTarget.WeightTarget)

An [ExercisePerformanceTarget](/reference/kotlin/androidx/health/connect/client/records/ExercisePerformanceTarget) that requires a target weight to be lifted during the associated [PlannedExerciseStep](/reference/kotlin/androidx/health/connect/client/records/PlannedExerciseStep).

[ExerciseRoute](/reference/kotlin/androidx/health/connect/client/records/ExerciseRoute)

Captures a route associated with an exercise session a user does.

[ExerciseRoute.Location](/reference/kotlin/androidx/health/connect/client/records/ExerciseRoute.Location)

Represents a single location point recorded during an exercise.

[ExerciseRouteResult](/reference/kotlin/androidx/health/connect/client/records/ExerciseRouteResult)

Result of the route associated with an exercise session a user does.

[ExerciseRouteResult.ConsentRequired](/reference/kotlin/androidx/health/connect/client/records/ExerciseRouteResult.ConsentRequired)

Class indicating that a permission hasn't been granted and a value couldn't be returned.

[ExerciseRouteResult.Data](/reference/kotlin/androidx/health/connect/client/records/ExerciseRouteResult.Data)

Class containing data for an [ExerciseRoute](/reference/kotlin/androidx/health/connect/client/records/ExerciseRoute).

[ExerciseRouteResult.NoData](/reference/kotlin/androidx/health/connect/client/records/ExerciseRouteResult.NoData)

Class indicating that there's no data to request permissions for.

[ExerciseSegment](/reference/kotlin/androidx/health/connect/client/records/ExerciseSegment)

Represents particular exercise within an exercise session.

[ExerciseSessionRecord](/reference/kotlin/androidx/health/connect/client/records/ExerciseSessionRecord)

Captures any exercise a user does.

[FhirResource](/reference/kotlin/androidx/health/connect/client/records/FhirResource)

A class to capture the FHIR resource data.

[FhirVersion](/reference/kotlin/androidx/health/connect/client/records/FhirVersion)

Represents the FHIR version.

[FloorsClimbedRecord](/reference/kotlin/androidx/health/connect/client/records/FloorsClimbedRecord)

Captures the number of floors climbed by the user since the last reading.

[HeartRateRecord](/reference/kotlin/androidx/health/connect/client/records/HeartRateRecord)

Captures the user's heart rate.

[HeartRateRecord.Sample](/reference/kotlin/androidx/health/connect/client/records/HeartRateRecord.Sample)

Represents a single measurement of the heart rate.

[HeartRateVariabilityRmssdRecord](/reference/kotlin/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.

[HeightRecord](/reference/kotlin/androidx/health/connect/client/records/HeightRecord)

Captures the user's height.

[HydrationRecord](/reference/kotlin/androidx/health/connect/client/records/HydrationRecord)

Captures how much water a user drank in a single drink.

[IntermenstrualBleedingRecord](/reference/kotlin/androidx/health/connect/client/records/IntermenstrualBleedingRecord)

Captures an instance of user's intermenstrual bleeding, also known as spotting.

[LeanBodyMassRecord](/reference/kotlin/androidx/health/connect/client/records/LeanBodyMassRecord)

Captures the user's lean body mass.

[MedicalDataSource](/reference/kotlin/androidx/health/connect/client/records/MedicalDataSource)

A class to hold the data source information of medical data.

[MedicalResource](/reference/kotlin/androidx/health/connect/client/records/MedicalResource)

A class to hold medical resource data.

[MedicalResourceId](/reference/kotlin/androidx/health/connect/client/records/MedicalResourceId)

A class to represent a unique identifier of a medical resource.

[MenstruationFlowRecord](/reference/kotlin/androidx/health/connect/client/records/MenstruationFlowRecord)

Captures a description of how heavy a user's menstrual flow was (light, medium, or heavy).

[MenstruationPeriodRecord](/reference/kotlin/androidx/health/connect/client/records/MenstruationPeriodRecord)

Captures user's menstruation periods.

[MindfulnessSessionRecord](/reference/kotlin/androidx/health/connect/client/records/MindfulnessSessionRecord)

Captures any mindfulness session a user does.

[NutritionRecord](/reference/kotlin/androidx/health/connect/client/records/NutritionRecord)

Captures what nutrients were consumed as part of a meal or a food item.

[OvulationTestRecord](/reference/kotlin/androidx/health/connect/client/records/OvulationTestRecord)

Each record represents the result of an ovulation test.

[OxygenSaturationRecord](/reference/kotlin/androidx/health/connect/client/records/OxygenSaturationRecord)

Captures the amount of oxygen circulating in the blood, measured as a percentage of oxygen-saturated hemoglobin.

[PlannedExerciseBlock](/reference/kotlin/androidx/health/connect/client/records/PlannedExerciseBlock)

Represents a series of [PlannedExerciseStep](/reference/kotlin/androidx/health/connect/client/records/PlannedExerciseStep)s.

[PlannedExerciseSessionRecord](/reference/kotlin/androidx/health/connect/client/records/PlannedExerciseSessionRecord)

Captures a planned exercise session, also commonly referred to as a training plan.

[PlannedExerciseStep](/reference/kotlin/androidx/health/connect/client/records/PlannedExerciseStep)

A single step within an [PlannedExerciseBlock](/reference/kotlin/androidx/health/connect/client/records/PlannedExerciseBlock) e.g. 8x 60kg barbell squats.

[PowerRecord](/reference/kotlin/androidx/health/connect/client/records/PowerRecord)

Captures the power generated by the user, e.g. during cycling or rowing with a power meter.

[PowerRecord.Sample](/reference/kotlin/androidx/health/connect/client/records/PowerRecord.Sample)

Represents a single measurement of power.

[RespiratoryRateRecord](/reference/kotlin/androidx/health/connect/client/records/RespiratoryRateRecord)

Captures the user's respiratory rate.

[RestingHeartRateRecord](/reference/kotlin/androidx/health/connect/client/records/RestingHeartRateRecord)

Captures the user's resting heart rate.

[SexualActivityRecord](/reference/kotlin/androidx/health/connect/client/records/SexualActivityRecord)

Captures an occurrence of sexual activity.

[SkinTemperatureRecord](/reference/kotlin/androidx/health/connect/client/records/SkinTemperatureRecord)

Captures the skin temperature of a user.

[SkinTemperatureRecord.Delta](/reference/kotlin/androidx/health/connect/client/records/SkinTemperatureRecord.Delta)

Represents a skin temperature delta entry of [SkinTemperatureRecord](/reference/kotlin/androidx/health/connect/client/records/SkinTemperatureRecord).

[SleepSessionRecord](/reference/kotlin/androidx/health/connect/client/records/SleepSessionRecord)

Captures the user's sleep length and its stages.

[SleepSessionRecord.Stage](/reference/kotlin/androidx/health/connect/client/records/SleepSessionRecord.Stage)

Captures the sleep stage the user entered during a sleep session.

[SpeedRecord](/reference/kotlin/androidx/health/connect/client/records/SpeedRecord)

Captures the user's speed, e.g. during running or cycling.

[SpeedRecord.Sample](/reference/kotlin/androidx/health/connect/client/records/SpeedRecord.Sample)

Represents a single measurement of the speed, a scalar magnitude.

[StepsCadenceRecord](/reference/kotlin/androidx/health/connect/client/records/StepsCadenceRecord)

Captures the user's steps cadence.

[StepsCadenceRecord.Sample](/reference/kotlin/androidx/health/connect/client/records/StepsCadenceRecord.Sample)

Represents a single measurement of the steps cadence.

[StepsRecord](/reference/kotlin/androidx/health/connect/client/records/StepsRecord)

Captures the number of steps taken since the last reading.

[TotalCaloriesBurnedRecord](/reference/kotlin/androidx/health/connect/client/records/TotalCaloriesBurnedRecord)

Total energy burned by the user (in kilocalories), including active & basal energy burned (BMR).

[Vo2MaxRecord](/reference/kotlin/androidx/health/connect/client/records/Vo2MaxRecord)

Capture user's VO2 max score and optionally the measurement method.

[WeightRecord](/reference/kotlin/androidx/health/connect/client/records/WeightRecord)

Captures the user's weight.

[WheelchairPushesRecord](/reference/kotlin/androidx/health/connect/client/records/WheelchairPushesRecord)

Captures the number of wheelchair pushes done since the last reading.