---
title: "readAttributeCurrentChannel(withAttributeCache:endpoint:queue:completionHandler:)"
framework: matter
role: symbol
role_heading: Type Method
path: "matter/mtrbaseclusterchannel/readattributecurrentchannel(withattributecache:endpoint:queue:completionhandler:)"
---

# readAttributeCurrentChannel(withAttributeCache:endpoint:queue:completionHandler:)

## Declaration

```swift
class func readAttributeCurrentChannel(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t, completionHandler: @escaping @Sendable (MTRChannelClusterChannelInfo?, (any Error)?) -> Void)
```

```swift
class func readAttributeCurrentChannel(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> MTRChannelClusterChannelInfo
```
