androidx.health.connect.client.request


Classes

AggregateGroupByDurationRequest

Request object to read time bucketed aggregations for given AggregateMetrics in Android Health Platform.

AggregateGroupByPeriodRequest

Request object to read time bucketed aggregations for given AggregateMetrics in Android Health Platform.

AggregateRequest

Request object to read aggregations for given AggregateMetrics in Android Health Platform.

ChangesTokenRequest

Request object to fetch Changes-Token for given recordTypes in Android Health Platform.

ReadRecordsRequest

Request object to read Records in Android Health Platform determined by time range and other filters.

Top-level functions summary

inline ReadRecordsRequest<T>
<T : Record> ReadRecordsRequest(
    timeRangeFilter: TimeRangeFilter,
    dataOriginFilter: Set<DataOrigin>,
    ascendingOrder: Boolean,
    pageSize: Int,
    pageToken: String?
)

A convenience factory function for ReadRecordsRequest with reified record type T.

Top-level functions

inline fun <T : Record> ReadRecordsRequest(
    timeRangeFilter: TimeRangeFilter,
    dataOriginFilter: Set<DataOrigin> = emptySet(),
    ascendingOrder: Boolean = true,
    pageSize: Int = 1000,
    pageToken: String? = null
): ReadRecordsRequest<T>

A convenience factory function for ReadRecordsRequest with reified record type T.

See also
ReadRecordsRequest

for more information.