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.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]