appleExerciseTime
The amount of time that the user has spent exercising during the specified day.
Declaration
var appleExerciseTime: HKQuantity { get set }Discussion
Exercise time measures every full minute of movement that equals or exceeds the intensity of a brisk walk.
Apple watch automatically records exercise time. By default, the watch uses the accelerometer to estimate the intensity of the user’s movement. However, during workout sessions, the watch uses additional sensors, like the heart rate sensor and GPS, to generate estimates. HKWorkoutSession sessions also contribute to the exercise time. For more information, see Fill the Activity rings.
The HKQuantity object for this property must use units of time, such as hour(), minute(), or second().