---
title: "readAttributePrimary6X(completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclustercolorcontrol/readattributeprimary6x(completionhandler:)"
---

# readAttributePrimary6X(completionHandler:)

## Declaration

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

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