Type Property

highHeartRateEvent

A category sample type for high heart rate events.

Declaration

static let highHeartRateEvent: HKCategoryTypeIdentifier

Discussion

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

The high heart rate samples are read-only. Use this identifier to request permission to read these samples; however, you can’t request authorization to share them, and you can’t save new high heart rate events to the HealthKit store.

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

Topics

Metadata Keys

let HKMetadataKeyHeartRateEventThreshold: String

A key that records the threshold of high or low heart rate events in beats per minute.

See Also

Vital Signs

static let lowHeartRateEvent: HKCategoryTypeIdentifier

A category sample type for low heart rate events.

static let irregularHeartRhythmEvent: HKCategoryTypeIdentifier

A category sample type for irregular heart rhythm events.