---
title: "seek(with:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclustermediaplayback/seek(with:completionhandler:)"
---

# seek(with:completionHandler:)

## Declaration

```swift
func seek(with params: MTRMediaPlaybackClusterSeekParams, completionHandler: @escaping @Sendable (MTRMediaPlaybackClusterPlaybackResponseParams?, (any Error)?) -> Void)
```

```swift
func seek(with params: MTRMediaPlaybackClusterSeekParams) async throws -> MTRMediaPlaybackClusterPlaybackResponseParams
```
