Added in API level 34

ReadRecordsResponse


public class ReadRecordsResponse
extends Object

java.lang.Object
   ↳ android.health.connect.ReadRecordsResponseandroid.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 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 getRecords ()

Returns
List This value cannot be null.