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

# readAttributePrimary4X(completionHandler:)

## Declaration

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

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