Enumeration

HKCategoryValueAppleStandHour

Categories used to indicate whether the user stood during the sample’s duration.

Topics

Constants

case stood

The user stood up and moved for at least one continuous minute during the sample.

case idle

The user did not stand up and move for at least one continuous minute during the sample.

See Also

Other HealthKit Constants

Health Kit Error Domain

Constant for the HealthKit error domain.

enum HKError.Code

Error codes that may be returned when calling HealthKit methods.

enum HKUpdateFrequency

Constants that determine how often the system will launch your app in response to changes to HealthKit data. For more information, see HKObserverQuery.

enum HKAuthorizationStatus

Constants indicating the authorization status for a particular data type.

enum HKFitzpatrickSkinType

Categories representing the user’s skin type based on the Fitzpatrick scale. The Fitzpatrick scale is a numerical classification for skin color based on the skins response to sun exposure in terms of the degree of burning and tanning.

enum HKCategoryValueSleepAnalysis

Categories used when analyzing sleep samples.

enum HKCategoryValueCervicalMucusQuality

Categories used to represent the user’s cervical mucus quality. These values are ordered from least-fertile (Dry) to most-fertile (EggWhite).

enum HKCategoryValueOvulationTestResult

Categories used to represent the result of an ovulation home test.

enum HKCategoryValueMenstrualFlow

Constants indicating the amount of menstrual flow for a given sample.

enum HKCategoryValue

Miscellaneous category values.

enum HKBiologicalSex

Constants indicating the user’s sex. A person's sex is a combination of bodily characteristics including: chromosomes, hormones, internal and external reproductive organs, and secondary sex characteristics.

enum HKBloodType

Constants indicating the user’s blood type.

enum HKWheelchairUse

Constants indicating the user’s wheelchair use.