Global Variable

HKMetadataKeyHeartRateMotionContext

The user’s activity level when the heart rate sample was measured.

Declaration

let HKMetadataKeyHeartRateMotionContext: String

Discussion

This key takes an NSNumber containing an HKHeartRateMotionContext as its value.

Topics

Valid Motion Contexts

enum HKHeartRateMotionContext

Values that indicate the user’s level of activity when the heart rate sample was measured.

See Also

Vitals Sensors Keys

let HKMetadataKeyBodyTemperatureSensorLocation: String

The location where a particular body temperature reading was taken.

let HKMetadataKeyHeartRateSensorLocation: String

The location where a particular heart rate reading was taken.

let HKMetadataKeyVO2MaxTestType: String

The method used to calculate the user’s VO2 max rate.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software