---
title: "launchURL(with:expectedValues:expectedValueInterval:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrclustercontentlauncher/launchurl(with:expectedvalues:expectedvalueinterval:completionhandler:)"
---

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

## Declaration

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

```swift
func launchURL(with params: MTRContentLauncherClusterLaunchURLParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRContentLauncherClusterLaunchResponseParams
```
