Type Alias

HKCategoryTypeIdentifier

Identifiers for creating category types.

Declaration

typedef NSString *HKCategoryTypeIdentifier;

Discussion

To create an HKCategoryType instance, pass an HKCategoryTypeIdentifier value to the categoryTypeForIdentifier: method.

For the complete list of quantity type identifiers, see Activity.

Topics

Vital Signs

HKCategoryTypeIdentifierLowHeartRateEvent

A category sample type for low heart rate events.

HKCategoryTypeIdentifierHighHeartRateEvent

A category sample type for high heart rate events.

HKCategoryTypeIdentifierIrregularHeartRhythmEvent

A category sample type for irregular heart rhythm events.

Reproductive Health

HKCategoryTypeIdentifierCervicalMucusQuality

A category sample type for representing the quality of the user’s cervical mucus.

HKCategoryTypeIdentifierMenstrualFlow

A category sample type for representing menstrual cycles.

HKCategoryTypeIdentifierIntermenstrualBleeding

A category sample type for representing spotting outside the normal menstruation period.

HKCategoryTypeIdentifierOvulationTestResult

A category sample type for recording the result of an ovulation home test.

HKCategoryTypeIdentifierSexualActivity

A category sample type for recording sexual activity.

Activity

HKCategoryTypeIdentifierAppleStandHour

A category sample type indicating whether the user has stood for at least one minute during the sample.

Mindfullness and Sleep

HKCategoryTypeIdentifierMindfulSession

A category sample type for recording a mindful session.

HKCategoryTypeIdentifierSleepAnalysis

A category sample type for sleep analysis information.

Audio Exposure

HKCategoryTypeIdentifierAudioExposureEvent

A category sample type for audio exposure events.

Self Care

HKCategoryTypeIdentifierToothbrushingEvent

A category sample type for toothbrushing.

See Also

Creating Category Types

+ categoryTypeForIdentifier:

Returns the shared category type for the provided identifier.