Enumeration Case

HKHeartRateMotionContext.notSet

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

Declaration

case notSet = 0

Discussion

This value is identical to the sample’s metadata not containing a HKMetadataKeyHeartRateMotionContext key.

See Also

Motion Contextes

case active

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

case sedentary

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