Contents

HKWorkoutZoneDuration

A structure that represents the time spent in a specific zone during a workout or activity.

Declaration

struct HKWorkoutZoneDuration

Overview

This structure pairs a zone with the duration of time the person spent in that zone. The system calculates durations based on quantity samples collected during the workout.

Topics

Accessing duration properties

See Also

Workout zones