ReadMedicalResourcesRequest


@ExperimentalPersonalHealthRecordApi
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

const Int

Default value for ReadMedicalResourcesRequest.pageSize.

Public functions

open operator Boolean
equals(other: Any?)
open Int

Public properties

Int

The maximum number of MedicalResources to be read.

Constants

DEFAULT_PAGE_SIZE

const val DEFAULT_PAGE_SIZE = 1000: Int

Default value for ReadMedicalResourcesRequest.pageSize.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

pageSize

Added in 1.1.0-beta02
val pageSizeInt

The maximum number of MedicalResources to be read.