Class

HKCategoryType

The HKCategoryType class is a concrete subclass of the HKObjectType class. HealthKit uses category types to represent data that can be categorized into an enumeration of values. Use category type instances to create category samples that you can then save in the HealthKit store. For more information, see HKCategorySample.

Overview

HealthKit provides only a single category type: sleep analysis. To create category type instances, use the categoryType(forIdentifier:) convenience method.

Relationships

Inherits From

Conforms To