Enumeration

HKHeartRateMotionContext

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

Declaration

enum HKHeartRateMotionContext : Int

Topics

Motion Contextes

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