Contents

appleStandHour

A category sample type that counts the number of hours in the day during which the user has stood and moved for at least one minute per hour.

Declaration

static let appleStandHour: HKCategoryTypeIdentifier

Discussion

This quantity type counts the number of hours during which the user stood and moved for at least one minute per hour.

If wheelchairUse() returns HKWheelchairUse.yes, Apple Watch calculates the number of hours during which the user rolled for at least one minute instead. Also, the Activity rings display Roll hours instead of Stand hours.

These samples use values from the HKCategoryValueAppleStandHour enumeration. They represent the data tracked by the Stand ring on Apple Watch.

See Also

Activity