ReadRecordsResponse


class ReadRecordsResponse<T : Record>


Response of reading a collection of records.

Parameters
<T : Record>

the record type

See also
readRecords

Summary

Public properties

String?

an optional page token to use for androidx.health.connect.client.request.ReadRecordsRequest.pageToken in the next request if more records can be fetched; contains value null if no more pages.

List<T>

a collection of records

Public properties

pageToken

Added in 1.1.0-alpha10
val pageTokenString?

an optional page token to use for androidx.health.connect.client.request.ReadRecordsRequest.pageToken in the next request if more records can be fetched; contains value null if no more pages.

records

Added in 1.1.0-alpha10
val recordsList<T>

a collection of records

Discover the latest app development tools, platform updates, training, and documentation for developers across every Android device.

Updated Dec 11, 2024

Discover the latest app development tools, platform updates, training, and documentation for developers across every Android device.

Updated May 23, 2024

Android allows your app to do work in the background. Here's how.

Updated May 20, 2024