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

# readAttributeWhitePointX(completionHandler:)

## Declaration

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

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