Structure

HKCharacteristicTypeIdentifier

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

Topics

Type Properties

static let biologicalSex: HKCharacteristicTypeIdentifier

A characteristic type identifier for the user’s sex. This type uses values from the HKBiologicalSex enum.

static let bloodType: HKCharacteristicTypeIdentifier

A characteristic type identifier for the user’s blood type. This type uses values from the HKBloodType enum.

static let dateOfBirth: HKCharacteristicTypeIdentifier

A characteristic type identifier for the user’s date of birth.

static let fitzpatrickSkinType: HKCharacteristicTypeIdentifier

A characteristic type identifier for the user’s skin type. This type uses values from the HKFitzpatrickSkinType enum.

static let wheelchairUse: HKCharacteristicTypeIdentifier

A characteristic identifier for the user’s use of a wheelchair.