---
title: isMaximumDurationRestricted
framework: healthkit
role: symbol
role_heading: Instance Property
path: healthkit/hksampletype/ismaximumdurationrestricted
---

# isMaximumDurationRestricted

A Boolean value that indicates whether samples of this type have a maximum time interval between the start and end dates.

## Declaration

```swift
var isMaximumDurationRestricted: Bool { get }
```

## See Also

### Checking the Duration Restriction

- [isMinimumDurationRestricted](healthkit/hksampletype/isminimumdurationrestricted.md)
- [minimumAllowedDuration](healthkit/hksampletype/minimumallowedduration.md)
- [maximumAllowedDuration](healthkit/hksampletype/maximumallowedduration.md)
