Instance Property


A unique string identifying the HealthKit object type.


var identifier: String { get }


Each object type has a unique identifier. The identifiers can be grouped into four categories: category identifiers, characteristic identifiers, correlation identifiers, and quantity identifiers. Each group of identifiers is associated with a different concrete subclass of HKObjectType. For a complete list of type identifiers, see HealthKit Constants.