---
title: zoneDurations
framework: healthkit
role: symbol
role_heading: Instance Property
path: healthkit/hkworkoutzonegroup/zonedurations
---

# zoneDurations

A property that contains the time spent in each zone, ordered from lowest to highest threshold.

## Declaration

```swift
let zoneDurations: [HKWorkoutZoneDuration]
```

## Discussion

Discussion Each element in this array corresponds to a zone in the group’s configuration and specifies the duration in seconds.

## See Also

### Accessing group properties

- [configuration](healthkit/hkworkoutzonegroup/configuration.md)
