---
title: "readAttributePrimary4X(completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclustercolorcontrol/readattributeprimary4x(completion:)"
---

# readAttributePrimary4X(completion:)

## Declaration

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

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