Structure

HKCategoryTypeIdentifier

Used to define the identifier constants that you can pass to the categoryType(forIdentifier:) method to create HKCategoryType instances. For a list of valid identifiers, see Category Type Identifiers in HealthKit Constants.

Topics

Type Properties

static let appleStandHour: HKCategoryTypeIdentifier

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

static let cervicalMucusQuality: HKCategoryTypeIdentifier

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

static let intermenstrualBleeding: HKCategoryTypeIdentifier

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

static let menstrualFlow: HKCategoryTypeIdentifier

A category sample type for representing menstrual cycles.

static let mindfulSession: HKCategoryTypeIdentifier

A category sample type for recording a mindful session.

static let ovulationTestResult: HKCategoryTypeIdentifier

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

static let sexualActivity: HKCategoryTypeIdentifier

A category sample type for recording sexual activity.

static let sleepAnalysis: HKCategoryTypeIdentifier

A category sample type for sleep analysis information.