---
title: "stopApp(with:expectedValues:expectedValueInterval:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrclusterapplicationlauncher/stopapp(with:expectedvalues:expectedvalueinterval:completionhandler:)"
---

# stopApp(with:expectedValues:expectedValueInterval:completionHandler:)

## Declaration

```swift
func stopApp(with params: MTRApplicationLauncherClusterStopAppParams?, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?, completionHandler: @escaping @Sendable (MTRApplicationLauncherClusterLauncherResponseParams?, (any Error)?) -> Void)
```

```swift
func stopApp(with params: MTRApplicationLauncherClusterStopAppParams?, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRApplicationLauncherClusterLauncherResponseParams
```
