Added in API level 34
AggregateRecordsRequest
public
final
class
AggregateRecordsRequest
extends Object
java.lang.Object | |
↳ | android.health.connect.AggregateRecordsRequest<T> |
A class to create requests for HealthConnectManager#aggregate
Summary
Nested classes | |
---|---|
class |
AggregateRecordsRequest.Builder<T>
|
Public methods | |
---|---|
Set<AggregationType<T>>
|
getAggregationTypes()
|
Set<DataOrigin>
|
getDataOriginsFilters()
|
TimeRangeFilter
|
getTimeRangeFilter()
|
Inherited methods | |
---|---|
Public methods
getAggregationTypes
Added in API level 34
public Set<AggregationType<T>> getAggregationTypes ()
Returns | |
---|---|
Set<AggregationType<T>> |
Set of integers from AggregationType to aggregate
This value cannot be null . |
getDataOriginsFilters
Added in API level 34
public Set<DataOrigin> getDataOriginsFilters ()
Returns | |
---|---|
Set<DataOrigin> |
Set of DataOrigin s to read from, or empty set for no filter
This value cannot be null . |
getTimeRangeFilter
Added in API level 34
public TimeRangeFilter getTimeRangeFilter ()
Returns | |
---|---|
TimeRangeFilter |
time range b/w which the aggregate operation is to be performed
This value cannot be null . |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-11 UTC."],[],[]]