ReadMedicalResourcesRequest


@ExperimentalPersonalHealthRecordApi
public abstract class ReadMedicalResourcesRequest


A base class for reading MedicalResources with HealthConnectClient.readMedicalResources.

This feature is dependent on the version of HealthConnect installed on the device. To check if it's available call HealthConnectFeatures.getFeatureStatus and pass FEATURE_PERSONAL_HEALTH_RECORD as an argument. An UnsupportedOperationException would be thrown if the feature is not available.

Summary

Constants

static final int

Default value for ReadMedicalResourcesRequest.pageSize.

Public methods

boolean
equals(Object other)
final int

The maximum number of MedicalResources to be read.

int

Constants

DEFAULT_PAGE_SIZE

public static final int DEFAULT_PAGE_SIZE = 1000

Default value for ReadMedicalResourcesRequest.pageSize.

Public methods

equals

public boolean equals(Object other)

getPageSize

Added in 1.1.0-beta02
public final int getPageSize()

The maximum number of MedicalResources to be read.

hashCode

public int hashCode()