Enumeration

HKHeartRateMotionContext

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

Topics

Enumeration Cases

case active

A value indicating that the user was in motion during the heart rate sample.

case notSet

A value indicating that the user’s activity level could not be determined.

case sedentary

A value indicating that the user has been still for at least 5 minutes prior to the heart rate sample.

See Also

Metadata Keys and Values

Metadata Keys

A set of predefined keys for adding metadata to HealthKit objects. Use these keys to facilitate sharing data between apps. You can also create your own custom keys to give HealthKit objects additional app-specific data.

enum HKBodyTemperatureSensorLocation

Constants that indicate where on the body a temperature reading was taken.

enum HKHeartRateSensorLocation

Constants that indicate where on the body the heart rate sensor is located.

enum HKWeatherCondition

Constants that indicate a type of weather.