Contents

lowHeartRateEvent

A category sample type for low heart rate events.

Declaration

static let lowHeartRateEvent: HKCategoryTypeIdentifier

Discussion

The system creates lowHeartRateEvent samples whenever Apple Watch produces a low heart rate notification. For more information, see Heart rate notifications on your Apple Watch.

The low heart rate samples are read-only. You can request permission to read the samples using this identifier, but you can’t request authorization to share them. This means you can’t save new low heart rate events to the HealthKit store. To add test data in iOS Simulator, open the Health app and select Browse > Heart > Low Heart Rate Notifications > Add Data.

These samples have a value of HKCategoryValue.notApplicable and include HKMetadataKeyHeartRateEventThreshold metadata.

Topics

Metadata Keys

See Also

Vital signs