---
title: "readAttributeRockSetting(completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterfancontrol/readattributerocksetting(completion:)"
---

# readAttributeRockSetting(completion:)

## Declaration

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

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