Constants indicating the user’s blood type.



case notSet

Either the user’s blood type is not set, or the user has not granted your app permission to read the blood type.

case aPositive

The user has an A+ blood type.

case aNegative

The user has an A– blood type.

case bPositive

The user has an B+ blood type.

case bNegative

The user has an B– blood type.

case abPositive

The user has an AB+ blood type.

case abNegative

The user has an AB– blood type.

case oPositive

The user has an O+ blood type.

case oNegative

The user has an O– blood type.

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 HKCategoryValueAppleStandHour

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

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 HKWheelchairUse

Constants indicating the user’s wheelchair use.