Android.Health.Connect 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.
Contains types to read, write, and aggregate health and fitness data in Health Connect.
Classes
| Name | Description |
|---|---|
| AggregateRecordsGroupedByDurationResponse |
Class to represent the response from |
| AggregateRecordsGroupedByPeriodResponse |
Class to represent the response from |
| AggregateRecordsRequest |
A class to create requests for |
| AggregateRecordsRequest.Builder |
Builds an AggregateRecordsRequest instance. |
| AggregateRecordsResponse |
A class representing response for |
| CreateMedicalDataSourceRequest |
A create request for |
| CreateMedicalDataSourceRequest.Builder |
Builder class for |
| CreateMedicalDataSourceRequest.InterfaceConsts |
Contains the IParcelable constants exposed for CreateMedicalDataSourceRequest. |
| DeleteMedicalResourcesRequest |
A delete request for |
| DeleteMedicalResourcesRequest.Builder |
Builder class for |
| DeleteMedicalResourcesRequest.InterfaceConsts |
Contains the IParcelable constants exposed for DeleteMedicalResourcesRequest. |
| DeviceDataSource |
Represents a device that acts as a source of health and fitness data. |
| DeviceDataSource.InterfaceConsts |
Contains the IParcelable constants exposed for DeviceDataSource. |
| DeviceDataSourceCapabilities |
Represents the set of record types a device data source can provide. |
| DeviceDataTypeSource |
A data type provided by a device. |
| DeviceDataTypeSource.InterfaceConsts |
Contains the IParcelable constants exposed for DeviceDataTypeSource. |
| GetDeviceDataSourcesResponse |
Response containing the list of |
| GetDeviceDataSourcesResponse.InterfaceConsts |
Contains the IParcelable constants exposed for GetDeviceDataSourcesResponse. |
| GetMedicalDataSourcesRequest |
A create request for |
| GetMedicalDataSourcesRequest.Builder |
Builder class for |
| GetMedicalDataSourcesRequest.InterfaceConsts |
Contains the IParcelable constants exposed for GetMedicalDataSourcesRequest. |
| HealthConnectException |
Class representing health connect exceptions. |
| HealthConnectManager |
This class provides APIs to interact with the centralized HealthConnect storage maintained by the system. |
| HealthPermissions |
Permissions for accessing the HealthConnect APIs. |
| InsertRecordsResponse |
Response for |
| LocalTimeRangeFilter |
Specification of local time range for health connect requests. |
| LocalTimeRangeFilter.Builder |
Builder class for |
| MatchmakingRequest |
Represents a request to determine if there are matching data sources for a given set of record types. |
| MatchmakingRequest.Builder |
Builder class for |
| MatchmakingRequest.InterfaceConsts |
Contains the IParcelable constants exposed for MatchmakingRequest. |
| MatchmakingResponse |
A response for IsMatchmakingPossible(MatchmakingRequest, IExecutor, IOutcomeReceiver). |
| MatchmakingResponse.Builder |
Builder for |
| MatchmakingResponse.InterfaceConsts |
Contains the IParcelable constants exposed for MatchmakingResponse. |
| MedicalResourceId |
A class to represent a unique identifier of a medical resource. |
| MedicalResourceId.InterfaceConsts |
Contains the IParcelable constants exposed for MedicalResourceId. |
| ReadMedicalResourcesInitialRequest |
An initial read request with specified filters for |
| ReadMedicalResourcesInitialRequest.Builder |
Builder class for |
| ReadMedicalResourcesPageRequest |
A page read request with specified |
| ReadMedicalResourcesPageRequest.Builder |
Builder class for |
| ReadMedicalResourcesRequest |
A base class to represent a read request for |
| ReadMedicalResourcesResponse |
A read response for |
| ReadMedicalResourcesResponse.InterfaceConsts |
Contains the IParcelable constants exposed for ReadMedicalResourcesResponse. |
| ReadRecordsRequest |
A Base class to represent a request for |
| ReadRecordsRequestUsingFilters |
Class to represent a request based on time range and data origin filters for |
| ReadRecordsRequestUsingFilters.Builder |
Builder class for |
| ReadRecordsRequestUsingIds |
A request class to represent request based on |
| ReadRecordsRequestUsingIds.Builder |
Builder class for |
| ReadRecordsResponse |
Response containing list of Records for |
| RecordIdFilter |
A class to represent filtering based on record ID or client ID. |
| TimeInstantRangeFilter |
Specification of time range for read and delete requests. |
| TimeInstantRangeFilter.Builder |
Builder class for |
| UpsertMedicalResourceRequest |
An upsert request for |
| UpsertMedicalResourceRequest.Builder |
Builder class for |
| UpsertMedicalResourceRequest.InterfaceConsts |
Contains the IParcelable constants exposed for UpsertMedicalResourceRequest. |
Interfaces
| Name | Description |
|---|---|
| ITimeRangeFilter |
A Base class to represent a request for time range for read and delete requests. |
Enums
| Name | Description |
|---|---|
| HealthConnectExceptionErrorReason |
Specifies the reason for a HealthConnectException. |
Remarks
Health Connect is an on-device store that combines health and fitness data from multiple devices and apps. Use HealthConnectManager to get access to this store. The basic unit of data is Record.