Android.Health.Connect.DataTypes Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides Health Connect records, record metadata, and exercise goals.
Classes
| Name | Description |
|---|---|
| ActiveCaloriesBurnedRecord |
Captures the estimated active energy burned by the user (in kilocalories), excluding basal metabolic rate (BMR). |
| ActiveCaloriesBurnedRecord.Builder |
Builder class for |
| ActivityIntensityRecord |
Represents intensity of an activity. |
| ActivityIntensityRecord.Builder |
Builder class for |
| AggregationType |
Class to represent aggregation types in |
| AlcoholConsumptionRecord |
Captures a user's alcohol consumption. |
| AlcoholConsumptionRecord.Builder |
Builder class for |
| AppInfo |
Application Info class containing details about a given application |
| BasalBodyTemperatureRecord |
Captures the body temperature of a user when at rest (for example, immediately after waking up). |
| BasalBodyTemperatureRecord.Builder |
Builder class for |
| BasalMetabolicRateRecord |
Captures the BMR of a user. |
| BasalMetabolicRateRecord.Builder |
Builder class for |
| BloodGlucoseRecord |
Captures the concentration of glucose in the blood. |
| BloodGlucoseRecord.Builder |
Builder class for |
| BloodGlucoseRecord.RelationToMealType |
Relationship of the meal to the blood glucose measurement. |
| BloodGlucoseRecord.SpecimenSource |
Type of body fluid used to measure the blood glucose. |
| BloodPressureRecord |
Captures the blood pressure of a user. |
| BloodPressureRecord.BloodPressureMeasurementLocation |
Identifier for Blood Pressure Measurement Location |
| BloodPressureRecord.BodyPosition |
Identifier for body position |
| BloodPressureRecord.Builder |
Builder class for |
| BodyFatRecord |
Captures the body fat percentage of a user. |
| BodyFatRecord.Builder |
Builder class for |
| BodyTemperatureMeasurementLocation |
Where on the user's body a temperature measurement was taken from. |
| BodyTemperatureRecord |
Captures the body temperature of a user. |
| BodyTemperatureRecord.Builder |
Builder class for |
| BodyWaterMassRecord |
Captures the user's body water mass. |
| BodyWaterMassRecord.Builder |
Builder class for |
| BoneMassRecord |
Captures the user's bone mass. |
| BoneMassRecord.Builder |
Builder class for |
| CervicalMucusRecord |
Captures the description of cervical mucus. |
| CervicalMucusRecord.Builder |
Builder class for |
| CervicalMucusRecord.CervicalMucusAppearance |
Identifier for Cervical Mucus Appearance |
| CervicalMucusRecord.CervicalMucusSensation |
Identifier for Cervical Mucus Sensation |
| CyclingPedalingCadenceRecord |
Captures the user's cycling pedaling cadence. |
| CyclingPedalingCadenceRecord.Builder |
Builder class for |
| CyclingPedalingCadenceRecord.CyclingPedalingCadenceRecordSample |
Represents a single measurement of the cycling pedaling cadence. |
| DataOrigin |
Specifies the contributing source/application of any |
| DataOrigin.Builder |
Collects the app package name used to create a data origin. |
| Device |
A physical device (such as phone, watch, scale, or chest strap) which captured associated health data point. |
| Device.Builder |
Collects device identity fields used to create device information objects. |
| DistanceRecord |
Captures distance travelled by the user since the last reading. |
| DistanceRecord.Builder |
Builder class for |
| ElevationGainedRecord |
Captures the elevation gained by the user since the last reading. |
| ElevationGainedRecord.Builder |
Builder class for |
| ExerciseCompletionGoal |
A goal which should be met to complete a |
| ExerciseCompletionGoal.ActiveCaloriesBurnedGoal |
An |
| ExerciseCompletionGoal.DistanceGoal |
An |
| ExerciseCompletionGoal.DistanceWithVariableRestGoal |
An |
| ExerciseCompletionGoal.DurationGoal |
An |
| ExerciseCompletionGoal.RepetitionsGoal |
An |
| ExerciseCompletionGoal.StepsGoal |
An |
| ExerciseCompletionGoal.TotalCaloriesBurnedGoal |
An |
| ExerciseCompletionGoal.UnknownGoal |
An |
| ExerciseCompletionGoal.UnspecifiedGoal |
An |
| ExerciseLap |
Captures the time of a lap within exercise session. |
| ExerciseLap.Builder |
Builder class for |
| ExercisePerformanceGoal |
A goal which should be aimed for during a |
| ExercisePerformanceGoal.AmrapGoal |
An |
| ExercisePerformanceGoal.CadenceGoal |
An |
| ExercisePerformanceGoal.HeartRateGoal |
An |
| ExercisePerformanceGoal.PowerGoal |
An |
| ExercisePerformanceGoal.RateOfPerceivedExertionGoal |
An |
| ExercisePerformanceGoal.SpeedGoal |
An |
| ExercisePerformanceGoal.UnknownGoal |
An |
| ExercisePerformanceGoal.WeightGoal |
An |
| ExerciseRoute |
Route of the exercise session. |
| ExerciseRoute.InterfaceConsts |
Exposes Parcelable constants through the exercise-route binding. |
| ExerciseRoute.Location |
Point in the time and space. |
| ExerciseRoute.Location.Builder |
Builder class for Location |
| ExerciseRoute.Location.InterfaceConsts |
Exposes Parcelable constants through the route-location binding. |
| ExerciseSegment |
Represents particular exercise within exercise session (see |
| ExerciseSegment.Builder |
Builder class for |
| ExerciseSegmentType |
Identifier for exercise types, as returned by |
| ExerciseSessionRecord |
Captures exercise or a sequence of exercises. |
| ExerciseSessionRecord.Builder |
Builder class for |
| ExerciseSessionType |
Identifier for exercise types, as returned by |
| FhirResource |
A class to capture the FHIR resource data. |
| FhirResource.Builder |
Builder class for |
| FhirResource.InterfaceConsts |
Exposes Parcelable constants through the FHIR resource binding. |
| FhirVersion |
Represents the FHIR version. |
| FhirVersion.InterfaceConsts |
Exposes Parcelable constants through the FHIR version binding. |
| FloorsClimbedRecord |
Captures the number of floors climbed by the user between the start and end time. |
| FloorsClimbedRecord.Builder |
Builder class for |
| HeartRateRecord |
Captures the user's heart rate. |
| HeartRateRecord.Builder |
Builder class for |
| HeartRateRecord.HeartRateSample |
A class to represent heart rate samples |
| HeartRateVariabilityRmssdRecord |
Captures the user's heart rate variability RMSSD. |
| HeartRateVariabilityRmssdRecord.Builder |
Builder class for |
| HeightRecord |
Captures the user's height. |
| HeightRecord.Builder |
Builder class for |
| HydrationRecord |
Captures the amount of liquids user had in a single drink. |
| HydrationRecord.Builder |
Builder class for |
| InstantRecord |
A record that contains a measurement recorded as an instance . |
| IntermenstrualBleedingRecord |
Captures the user's inter-menstrual bleeding. |
| IntermenstrualBleedingRecord.Builder |
Builder class for |
| IntervalRecord |
A record that contains a measurement with a time interval. |
| LeanBodyMassRecord |
Captures the user's lean body mass. |
| LeanBodyMassRecord.Builder |
Builder class for |
| MealType |
Identifier for the meal type. |
| MedicalDataSource |
Captures the data source information of medical data. |
| MedicalDataSource.Builder |
Builder class for |
| MedicalDataSource.InterfaceConsts |
Exposes Parcelable constants through the medical-data-source binding. |
| MedicalResource |
A class to capture the user's medical data. |
| MedicalResource.Builder |
Builder class for |
| MedicalResource.InterfaceConsts |
Exposes Parcelable constants through the medical-resource binding. |
| MenstrualCyclePhaseRecord |
Represents a user's menstrual cycle phase for a specific day. |
| MenstrualCyclePhaseRecord.Builder |
Builder class for |
| MenstruationFlowRecord |
Captures a description of how heavy a user's menstrual flow was (spotting, light, medium, or heavy). |
| MenstruationFlowRecord.Builder |
Builder class for |
| MenstruationFlowRecord.MenstruationFlowType |
Identifier for Menstruation Flow |
| MenstruationPeriodRecord |
Captures the menstruation period record. |
| MenstruationPeriodRecord.Builder |
Builder class for |
| Metadata |
Set of shared metadata fields for |
| Metadata.Builder |
Collects record identifiers, data origin, device information, and recording method for record metadata. |
| MindfulnessSessionRecord |
Captures a mindfulness session. |
| MindfulnessSessionRecord.Builder |
Builder class for |
| NutritionRecord |
Captures what nutrients were consumed as part of a meal or a food item. |
| NutritionRecord.Builder |
Builder class for |
| OvulationTestRecord |
Each record represents the result of an ovulation test. |
| OvulationTestRecord.Builder |
Builder class for |
| OvulationTestRecord.OvulationTestResult |
Identifier for Ovulation Test Result |
| OxygenSaturationRecord |
Captures the amount of oxygen circulating in the blood, measured as a percentage of oxygen-saturated hemoglobin. |
| OxygenSaturationRecord.Builder |
Builder class for |
| PlannedExerciseBlock |
Represents a series of |
| PlannedExerciseBlock.Builder |
Builder of |
| PlannedExerciseSessionRecord |
Captures a planned exercise session, also commonly referred to as a training plan. |
| PlannedExerciseSessionRecord.Builder |
Builder class for |
| PlannedExerciseStep |
A single step within an |
| PlannedExerciseStep.Builder |
Builder of |
| PowerRecord |
Captures the power generated by the user, e. |
| PowerRecord.Builder |
Builder class for |
| PowerRecord.PowerRecordSample |
Represents a single measurement of power. |
| Record |
A base class for all record classes |
| RespiratoryRateRecord |
Captures the user's respiratory rate. |
| RespiratoryRateRecord.Builder |
Builder class for |
| RestingHeartRateRecord |
Captures the user's resting heart rate. |
| RestingHeartRateRecord.Builder |
Builder class for |
| SexualActivityRecord |
Captures an occurrence of sexual activity. |
| SexualActivityRecord.Builder |
Builder class for |
| SexualActivityRecord.SexualActivityProtectionUsed |
Identifier for sexual activity protection used |
| SkinTemperatureRecord |
Captures the skin temperature of a user. |
| SkinTemperatureRecord.Builder |
Builder class for |
| SkinTemperatureRecord.Delta |
Skin temperature delta entry of |
| SleepSessionRecord |
Captures the user's sleep length and its stages. |
| SleepSessionRecord.Builder |
Builder class for |
| SleepSessionRecord.Stage |
Captures the user's length and type of sleep. |
| SleepSessionRecord.StageType |
Identifier for sleeping stage, as returned by |
| SpeedRecord |
Captures the user's speed, e. |
| SpeedRecord.Builder |
Builder class for |
| SpeedRecord.SpeedRecordSample |
Represents a single measurement of the speed, a scalar magnitude. |
| StepsCadenceRecord |
Captures the user's steps cadence. |
| StepsCadenceRecord.Builder |
Builder class for |
| StepsCadenceRecord.StepsCadenceRecordSample |
Represents a single measurement of the steps cadence. |
| StepsRecord |
Captures the number of steps taken since the last reading. |
| StepsRecord.Builder |
Builder class for |
| SymptomRecord |
Captures a description of a user's symptom. |
| SymptomRecord.Builder |
Builder class for |
| TotalCaloriesBurnedRecord |
Total energy burned by the user in |
| TotalCaloriesBurnedRecord.Builder |
Builder class for |
| Vo2MaxRecord |
Capture user's VO2 max score and optionally the measurement method. |
| Vo2MaxRecord.Builder |
Builder class for |
| Vo2MaxRecord.Vo2MaxMeasurementMethod |
Identifier for V02 max measurement method |
| WeightRecord |
Captures the user's weight. |
| WeightRecord.Builder |
Builder class for |
| WheelchairPushesRecord |
Captures the number of wheelchair pushes done over a time interval. |
| WheelchairPushesRecord.Builder |
Builder class for |
Enums
| Name | Description |
|---|---|
| ActivityIntensityType |
Identifies the intensity category of an activity-intensity record. |
| AlcoholConsumptionBeverageType |
Identifies the beverage category stored in an alcohol consumption record. |
| AlcoholConsumptionTemporalType |
Identifies the time representation of an alcohol consumption record. |
| BloodGlucoseRelationToMeal |
Identifies the meal-relation category stored with a blood glucose measurement. |
| BloodGlucoseSpecimenSource |
Identifies the specimen source category for a blood glucose measurement. |
| BloodPressureBodyPosition |
Identifies the body position category stored with a blood pressure measurement. |
| BloodPressureMeasurementLocationType |
Identifies the measurement site category for blood pressure readings. |
| BodyTemperatureMeasurementLocationType |
Identifies the body site category stored with a temperature measurement. |
| CervicalMucusAppearanceType |
Identifies the appearance category stored in a cervical mucus record. |
| CervicalMucusSensationType |
Identifies the sensation category stored in a cervical mucus record. |
| ExerciseSegmentTypeEnum |
Identifies the exercise type recorded for an exercise segment. |
| ExerciseSessionTypeEnum |
Identifies the exercise type recorded for an exercise session. |
| FhirResourceType |
Identifies the native FHIR resource category. |
| HealthDeviceType |
Identifies the category of a device associated with health data. |
| HealthMealType |
Identifies the meal category associated with a health record. |
| HealthRecordingMethod |
Identifies how the data in a health record was recorded. |
| MedicalResourceType |
Identifies the category stored with a medical resource. |
| MenstrualCyclePhase |
Identifies the phase category stored in a menstrual cycle phase record. |
| MenstruationFlowTypeValue |
Identifies the flow category stored in a menstruation flow record. |
| MindfulnessSessionType |
Identifies the category of a mindfulness session. |
| OvulationTestResultValue |
Identifies the result category stored in an ovulation test record. |
| PlannedExerciseStepExerciseCategory |
Identifies the category of a step within planned exercise. |
| RecordTemporalType |
Identifies whether a record represents an instant, interval, or local date. |
| SexualActivityProtectionUsedType |
Identifies the protection-use category stored in a sexual activity record. |
| SkinTemperatureRecordMeasurementLocation |
Identifies the body site category stored with skin temperature measurements. |
| SleepStageType |
Identifies the stage category stored in a sleep session stage. |
| SymptomRecordTemporalType |
Identifies the time representation of a symptom record. |
| SymptomSeverity |
Identifies the severity category stored in a symptom record. |
| SymptomType |
Identifies the symptom category stored in a symptom record. |
| Vo2MaxMeasurementMethodType |
Identifies the measurement method category stored with a VO2 max score. |
Remarks
Records associate health measurements or activities with metadata and time information. Builders create records and their supporting objects. Exercise goals describe the completion and performance targets of planned exercise steps.