Enumeration

HKCategoryValueAppleStandHour

Categories used to indicate whether the user stood during the sample’s duration.

Declaration

enum HKCategoryValueAppleStandHour : Int

Topics

Constants

case stood

The user stood up and moved for at least one continuous minute during the sample.

case idle

The user did not stand up and move for at least one continuous minute during the sample.

See Also

Accessing the Summary’s Data

var activeEnergyBurned: HKQuantity

The amount of active energy that the user has burned during the specified day.

var activeEnergyBurnedGoal: HKQuantity

The user’s daily goal for active energy burned.

var appleExerciseTime: HKQuantity

The amount of time that the user has spent exercising during the specified day.

var appleExerciseTimeGoal: HKQuantity

The user’s daily exercise goal.

var appleStandHours: HKQuantity

The number of stand hours that the user has earned during the specified day.

var appleStandHoursGoal: HKQuantity

The user’s daily goal for stand hours.

func dateComponents(for: Calendar) -> DateComponents

Date components that uniquely identify the day represented by the summary object.