Added in API level 34

ReadRecordsResponse


public class ReadRecordsResponse
extends Object

java.lang.Object
   ↳ android.health.connect.ReadRecordsResponse<T extends android.health.connect.datatypes.Record>


Response containing list of Records for HealthConnectManager.readRecords.

Summary

Public methods

long getNextPageToken()

Returns a page token to read the next page of the result.

List<T> getRecords()

Inherited methods

Public methods

getNextPageToken

Added in API level 34
public long getNextPageToken ()

Returns a page token to read the next page of the result. -1 if there are no more pages available.

Returns
long

getRecords

Added in API level 34
public List<T> getRecords ()

Returns
List<T> This value cannot be null.