---
title: "readAttributeCurrentApp(withAttributeCache:endpoint:queue:completionHandler:)"
framework: matter
role: symbol
role_heading: Type Method
path: "matter/mtrbaseclusterapplicationlauncher/readattributecurrentapp(withattributecache:endpoint:queue:completionhandler:)"
---

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

## Declaration

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

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