---
title: "subscribeAttributeColorPointGX(with:subscriptionEstablished:reportHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclustercolorcontrol/subscribeattributecolorpointgx(with:subscriptionestablished:reporthandler:)"
---

# subscribeAttributeColorPointGX(with:subscriptionEstablished:reportHandler:)

## Declaration

```swift
func subscribeAttributeColorPointGX(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
```
