---
title: "readAttributeHoldTimeLimits(withClusterStateCache:endpoint:queue:completion:)"
framework: matter
role: symbol
role_heading: Type Method
path: "matter/mtrbaseclusteroccupancysensing/readattributeholdtimelimits(withclusterstatecache:endpoint:queue:completion:)"
---

# readAttributeHoldTimeLimits(withClusterStateCache:endpoint:queue:completion:)

## Declaration

```swift
class func readAttributeHoldTimeLimits(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t, completion: @escaping @Sendable (MTROccupancySensingClusterHoldTimeLimitsStruct?, (any Error)?) -> Void)
```

```swift
class func readAttributeHoldTimeLimits(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> MTROccupancySensingClusterHoldTimeLimitsStruct
```
