aggregateData

abstract suspend fun <T : Any> aggregateData(request: AggregateRequest<T>): DataResponse<AggregatedData<T>>

Aggregates a set of the Samsung Health app's data according to the specified request.

This method returns a set of summarized and processed data after running aggregate operations such as TOTAL, LAST, and so on.

Return

The DataResponse instance that returns a set of AggregatedData.

Since

1.0.0

Parameters

request

An AggregateRequest instance that specifies the aggregate conditions.

Preferences Submitted

You have successfully updated your cookie preferences.