---
title: "writeAttributeCurrentApp(withValue:params:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterapplicationlauncher/writeattributecurrentapp(withvalue:params:completionhandler:)"
---

# writeAttributeCurrentApp(withValue:params:completionHandler:)

## Declaration

```swift
func writeAttributeCurrentApp(withValue value: MTRApplicationLauncherClusterApplicationEP?, params: MTRWriteParams?, completionHandler: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func writeAttributeCurrentApp(withValue value: MTRApplicationLauncherClusterApplicationEP?, params: MTRWriteParams?) async throws
```
