Added in API level 34

ReadRecordsResponse


open class ReadRecordsResponse<T : Record!>
kotlin.Any
   ↳ android.health.connect.ReadRecordsResponse

Response containing list of Records for HealthConnectManager#readRecords.

Summary

Public methods
open Long

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

open MutableList<T>

Public methods

getNextPageToken

Added in API level 34
open fun getNextPageToken(): Long

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

getRecords

Added in API level 34
open fun getRecords(): MutableList<T>
Return
MutableList<T> This value cannot be null.