# MediaPlaybackCommands


```
@Generated(value = ["GoogleHomePlatformCodegen"])
interface MediaPlaybackCommands
```

<br />

Known direct subclasses [MediaPlayback](https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlayback)

|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlayback` | API for the MediaPlayback trait. |

*** ** * ** ***

Commands for the MediaPlayback trait.

## Summary

| ### Public functions |
|---|---|
| `suspend https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#activateAudioTrack(kotlin.String,kotlin.UByte)(trackId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html, audioOutputIndex: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html)` Activate an audio track. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#activateAudioTrackBatchable(kotlin.String,kotlin.UByte)(trackId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html, audioOutputIndex: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html)` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#activateAudioTrack(kotlin.String,kotlin.UByte)` command. |
| `suspend https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#activateTextTrack(kotlin.String)(trackId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)` Activate a text track. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#activateTextTrackBatchable(kotlin.String)(trackId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#activateTextTrack(kotlin.String)` command. |
| `suspend https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#deactivateTextTrack()()` Deactivate the current text track. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#deactivateTextTrackBatchable()()` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#deactivateTextTrack()` command. |
| `suspend https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.FastForwardCommand.Response` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#fastForward(kotlin.Function1)(optionalArgs: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.FastForwardCommand.OptionalArgs.() -> https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)` Fast forward the current media. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.FastForwardCommand.Response>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#fastForwardBatchable(kotlin.Function1)(optionalArgs: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.FastForwardCommand.OptionalArgs.() -> https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#fastForward(kotlin.Function1)` command. |
| `suspend https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.NextCommand.Response` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#next()()` Move to the next item in the media. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.NextCommand.Response>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#nextBatchable()()` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#next()` command. |
| `suspend https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.PauseCommand.Response` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#pause()()` Pause the current media. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.PauseCommand.Response>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#pauseBatchable()()` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#pause()` command. |
| `suspend https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.PlayCommand.Response` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#play()()` Play the current media. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.PlayCommand.Response>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#playBatchable()()` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#play()` command. |
| `suspend https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.PreviousCommand.Response` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#previous()()` Move to the previous item in the current media. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.PreviousCommand.Response>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#previousBatchable()()` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#previous()` command. |
| `suspend https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.RewindCommand.Response` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#rewind(kotlin.Function1)(optionalArgs: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.RewindCommand.OptionalArgs.() -> https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)` Rewind the current media. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.RewindCommand.Response>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#rewindBatchable(kotlin.Function1)(optionalArgs: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.RewindCommand.OptionalArgs.() -> https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#rewind(kotlin.Function1)` command. |
| `suspend https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.SeekCommand.Response` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#seek(kotlin.ULong)(position: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-long/index.html)` Change the playback position in the current media to the specified position. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.SeekCommand.Response>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#seekBatchable(kotlin.ULong)(position: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-long/index.html)` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#seek(kotlin.ULong)` command. |
| `suspend https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.SkipBackwardCommand.Response` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#skipBackward(kotlin.ULong)(deltaPositionMilliseconds: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-long/index.html)` Skip backward by a specified amount of time within the current media. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.SkipBackwardCommand.Response>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#skipBackwardBatchable(kotlin.ULong)(deltaPositionMilliseconds: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-long/index.html)` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#skipBackward(kotlin.ULong)` command. |
| `suspend https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.SkipForwardCommand.Response` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#skipForward(kotlin.ULong)(deltaPositionMilliseconds: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-long/index.html)` Skip forward by a specified amount of time within the current media. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.SkipForwardCommand.Response>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#skipForwardBatchable(kotlin.ULong)(deltaPositionMilliseconds: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-long/index.html)` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#skipForward(kotlin.ULong)` command. |
| `suspend https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.StartOverCommand.Response` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#startOver()()` Start over from the beginning of the current media. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.StartOverCommand.Response>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#startOverBatchable()()` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#startOver()` command. |
| `suspend https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.StopCommand.Response` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#stop()()` Stop playing the current media. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.StopCommand.Response>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#stopBatchable()()` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#stop()` command. |

## Public functions

### activateAudioTrack

```
suspend fun activateAudioTrack(trackId: String, audioOutputIndex: UByte): Unit
```

Activate an audio track.

| Parameters |
|---|---|
| `trackId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | Track ID. |
| `audioOutputIndex: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html` | Audio output index. |

### activateAudioTrackBatchable

```
fun activateAudioTrackBatchable(trackId: String, audioOutputIndex: UByte): BatchableCommand<Unit>
```

The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#activateAudioTrack(kotlin.String,kotlin.UByte)` command.

Activate an audio track.

| Parameters |
|---|---|
| `trackId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | Track ID. |
| `audioOutputIndex: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html` | Audio output index. |

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html>` | BatchableCommand |

### activateTextTrack

```
suspend fun activateTextTrack(trackId: String): Unit
```

Activate a text track.

| Parameters |
|---|---|
| `trackId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | Track ID. |

### activateTextTrackBatchable

```
fun activateTextTrackBatchable(trackId: String): BatchableCommand<Unit>
```

The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#activateTextTrack(kotlin.String)` command.

Activate a text track.

| Parameters |
|---|---|
| `trackId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | Track ID. |

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html>` | BatchableCommand |

### deactivateTextTrack

```
suspend fun deactivateTextTrack(): Unit
```

Deactivate the current text track.

### deactivateTextTrackBatchable

```
fun deactivateTextTrackBatchable(): BatchableCommand<Unit>
```

The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#deactivateTextTrack()` command.

Deactivate the current text track.

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html>` | BatchableCommand |

### fastForward

```
suspend fun fastForward(optionalArgs: MediaPlaybackTrait.FastForwardCommand.OptionalArgs.() -> Unit = {}): MediaPlaybackTrait.FastForwardCommand.Response
```

Fast forward the current media.

| Parameters |
|---|---|
| `optionalArgs: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.FastForwardCommand.OptionalArgs.() -> https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html = {}` | Receiver for the optional arguments of this command |

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.FastForwardCommand.Response` | The outcome of the `FastForward` command. |

### fastForwardBatchable

```
fun fastForwardBatchable(optionalArgs: MediaPlaybackTrait.FastForwardCommand.OptionalArgs.() -> Unit = {}): BatchableCommand<MediaPlaybackTrait.FastForwardCommand.Response>
```

The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#fastForward(kotlin.Function1)` command.

Fast forward the current media.

| Parameters |
|---|---|
| `optionalArgs: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.FastForwardCommand.OptionalArgs.() -> https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html = {}` | Receiver for the optional arguments of this command |

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.FastForwardCommand.Response>` | BatchableCommand |

### next

```
suspend fun next(): MediaPlaybackTrait.NextCommand.Response
```

Move to the next item in the media.

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.NextCommand.Response` | The outcome of the `Next` command. |

### nextBatchable

```
fun nextBatchable(): BatchableCommand<MediaPlaybackTrait.NextCommand.Response>
```

The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#next()` command.

Move to the next item in the media.

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.NextCommand.Response>` | BatchableCommand |

### pause

```
suspend fun pause(): MediaPlaybackTrait.PauseCommand.Response
```

Pause the current media.

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.PauseCommand.Response` | The outcome of the `Pause` command. |

### pauseBatchable

```
fun pauseBatchable(): BatchableCommand<MediaPlaybackTrait.PauseCommand.Response>
```

The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#pause()` command.

Pause the current media.

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.PauseCommand.Response>` | BatchableCommand |

### play

```
suspend fun play(): MediaPlaybackTrait.PlayCommand.Response
```

Play the current media.

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.PlayCommand.Response` | The outcome of the `Play` command. |

### playBatchable

```
fun playBatchable(): BatchableCommand<MediaPlaybackTrait.PlayCommand.Response>
```

The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#play()` command.

Play the current media.

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.PlayCommand.Response>` | BatchableCommand |

### previous

```
suspend fun previous(): MediaPlaybackTrait.PreviousCommand.Response
```

Move to the previous item in the current media.

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.PreviousCommand.Response` | The outcome of the `Previous` command. |

### previousBatchable

```
fun previousBatchable(): BatchableCommand<MediaPlaybackTrait.PreviousCommand.Response>
```

The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#previous()` command.

Move to the previous item in the current media.

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.PreviousCommand.Response>` | BatchableCommand |

### rewind

```
suspend fun rewind(optionalArgs: MediaPlaybackTrait.RewindCommand.OptionalArgs.() -> Unit = {}): MediaPlaybackTrait.RewindCommand.Response
```

Rewind the current media.

| Parameters |
|---|---|
| `optionalArgs: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.RewindCommand.OptionalArgs.() -> https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html = {}` | Receiver for the optional arguments of this command |

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.RewindCommand.Response` | The outcome of the `Rewind` command. |

### rewindBatchable

```
fun rewindBatchable(optionalArgs: MediaPlaybackTrait.RewindCommand.OptionalArgs.() -> Unit = {}): BatchableCommand<MediaPlaybackTrait.RewindCommand.Response>
```

The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#rewind(kotlin.Function1)` command.

Rewind the current media.

| Parameters |
|---|---|
| `optionalArgs: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.RewindCommand.OptionalArgs.() -> https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html = {}` | Receiver for the optional arguments of this command |

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.RewindCommand.Response>` | BatchableCommand |

### seek

```
suspend fun seek(position: ULong): MediaPlaybackTrait.SeekCommand.Response
```

Change the playback position in the current media to the specified position.

| Parameters |
|---|---|
| `position: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-long/index.html` | The position to seek to, relative to the start of the media, in milliseconds. |

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.SeekCommand.Response` | The outcome of the `Seek` command. |

### seekBatchable

```
fun seekBatchable(position: ULong): BatchableCommand<MediaPlaybackTrait.SeekCommand.Response>
```

The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#seek(kotlin.ULong)` command.

Change the playback position in the current media to the specified position.

| Parameters |
|---|---|
| `position: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-long/index.html` | The position to seek to, relative to the start of the media, in milliseconds. |

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.SeekCommand.Response>` | BatchableCommand |

### skipBackward

```
suspend fun skipBackward(deltaPositionMilliseconds: ULong): MediaPlaybackTrait.SkipBackwardCommand.Response
```

Skip backward by a specified amount of time within the current media.

| Parameters |
|---|---|
| `deltaPositionMilliseconds: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-long/index.html` | The duration of the time span to skip backward in the media, in milliseconds. |

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.SkipBackwardCommand.Response` | The outcome of the `SkipBackward` command. |

### skipBackwardBatchable

```
fun skipBackwardBatchable(deltaPositionMilliseconds: ULong): BatchableCommand<MediaPlaybackTrait.SkipBackwardCommand.Response>
```

The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#skipBackward(kotlin.ULong)` command.

Skip backward by a specified amount of time within the current media.

| Parameters |
|---|---|
| `deltaPositionMilliseconds: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-long/index.html` | The duration of the time span to skip backward in the media, in milliseconds. |

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.SkipBackwardCommand.Response>` | BatchableCommand |

### skipForward

```
suspend fun skipForward(deltaPositionMilliseconds: ULong): MediaPlaybackTrait.SkipForwardCommand.Response
```

Skip forward by a specified amount of time within the current media.

| Parameters |
|---|---|
| `deltaPositionMilliseconds: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-long/index.html` | The duration of the time span to skip forward in the media, in milliseconds. |

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.SkipForwardCommand.Response` | The outcome of the `SkipForward` command. |

### skipForwardBatchable

```
fun skipForwardBatchable(deltaPositionMilliseconds: ULong): BatchableCommand<MediaPlaybackTrait.SkipForwardCommand.Response>
```

The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#skipForward(kotlin.ULong)` command.

Skip forward by a specified amount of time within the current media.

| Parameters |
|---|---|
| `deltaPositionMilliseconds: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-long/index.html` | The duration of the time span to skip forward in the media, in milliseconds. |

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.SkipForwardCommand.Response>` | BatchableCommand |

### startOver

```
suspend fun startOver(): MediaPlaybackTrait.StartOverCommand.Response
```

Start over from the beginning of the current media.

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.StartOverCommand.Response` | The outcome of the `StartOver` command. |

### startOverBatchable

```
fun startOverBatchable(): BatchableCommand<MediaPlaybackTrait.StartOverCommand.Response>
```

The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#startOver()` command.

Start over from the beginning of the current media.

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.StartOverCommand.Response>` | BatchableCommand |

### stop

```
suspend fun stop(): MediaPlaybackTrait.StopCommand.Response
```

Stop playing the current media.

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.StopCommand.Response` | The outcome of the `Stop` command. |

### stopBatchable

```
fun stopBatchable(): BatchableCommand<MediaPlaybackTrait.StopCommand.Response>
```

The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackCommands#stop()` command.

Stop playing the current media.

| Returns |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaPlaybackTrait.StopCommand.Response>` | BatchableCommand |