---
title: "readAttributeCurrentChannel(withClusterStateCache:endpoint:queue:completion:)"
framework: matter
role: symbol
role_heading: Type Method
path: "matter/mtrbaseclusterchannel/readattributecurrentchannel(withclusterstatecache:endpoint:queue:completion:)"
---

# readAttributeCurrentChannel(withClusterStateCache:endpoint:queue:completion:)

## Declaration

```swift
class func readAttributeCurrentChannel(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t, completion: @escaping @Sendable (MTRChannelClusterChannelInfoStruct?, (any Error)?) -> Void)
```

```swift
class func readAttributeCurrentChannel(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> MTRChannelClusterChannelInfoStruct
```
