Characteristics Type Identifiers

Identifiers for characteristic types.

Overview

Use characteristic type identifiers when requesting permission to read characteristic data from the HealthKit store.

Topics

Constants

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.

See Also

Type Identifiers

Body Measurements

Identifiers for quantity types based on body measurements.

Fitness Identifiers

Identifiers for quantity types that measure fitness data.

Vital Signs Identifiers

Identifiers for quantity types that measure the user’s vital signs.

Results Identifiers

Identifiers for quantity types that measure results data.

Nutrition Identifiers

Identifiers for quantity types that measure the nutritional data of food. When entering food data, combine multiple nutrition samples into a single correlation object. For more information, see food.

UV Exposure Identifier

An identifier for quantity types that measure the user’s exposure to ultraviolet (UV) radiation.

Category Type Identifiers

Identifiers for category types.

Correlation Type Identifiers

Identifiers for correlation types.

Workout Type Identifier

An identifier for workout types.

Document Type Identifier

An identifier for continuity of care document (CDA) types