---
title: "readAttributeHoldTime(completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusteroccupancysensing/readattributeholdtime(completion:)"
---

# readAttributeHoldTime(completion:)

## Declaration

```swift
func readAttributeHoldTime(completion: @escaping @Sendable (NSNumber?, (any Error)?) -> Void)
```

```swift
func readAttributeHoldTime() async throws -> NSNumber
```
