Added in U Extensions 16
ReadMedicalResourcesPageRequest
class ReadMedicalResourcesPageRequest : ReadMedicalResourcesRequest
kotlin.Any | ||
↳ | android.health.connect.ReadMedicalResourcesRequest | |
↳ | android.health.connect.ReadMedicalResourcesPageRequest |
A page read request with specified pageToken
for android.health.connect.HealthConnectManager#readMedicalResources.
When making a new initial request with new filters, use ReadMedicalResourcesInitialRequest
.
Example usage:
<code>ReadMedicalResourcesInitialRequest initialRequest = new ReadMedicalResourcesInitialRequest.Builder(...).build(); ReadMedicalResourcesResponse response = makeRequest(initialRequest); String pageToken = response.getNextPageToken(); while (pageToken != null) { ReadMedicalResourcesPageRequest pageRequest = new ReadMedicalResourcesPageRequest(pageToken); response = makeRequest(pageRequest); pageToken = response.getNextPageToken(); } </code>
Summary
Nested classes | |
---|---|
Builder class for |
Public methods | |
---|---|
Boolean | |
String |
Returns the page token to read the requested page. |
Int |
hashCode() |
String |
toString() |
Inherited functions | |
---|---|
Public methods
getPageToken
Added in U Extensions 16
fun getPageToken(): String
Returns the page token to read the requested page.
Return | |
---|---|
String |
This value cannot be null . |
hashCode
fun hashCode(): Int
toString
fun toString(): String