# MediaInputCommands

# MediaInputCommands


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

<br />

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

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

*** ** * ** ***

Commands for the MediaInput 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/MediaInputCommands#hideInputStatus()()` Hide the input list on the display. |
| `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/MediaInputCommands#hideInputStatusBatchable()()` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaInputCommands#hideInputStatus()` 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/MediaInputCommands#renameInput(kotlin.UByte,kotlin.String)(index: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html, name: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)` Change the name of the specified input. |
| `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/MediaInputCommands#renameInputBatchable(kotlin.UByte,kotlin.String)(index: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html, name: 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/MediaInputCommands#renameInput(kotlin.UByte,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/MediaInputCommands#selectInput(kotlin.UByte)(index: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html)` Change the media input on the device. |
| `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/MediaInputCommands#selectInputBatchable(kotlin.UByte)(index: 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/MediaInputCommands#selectInput(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/MediaInputCommands#showInputStatus()()` Show the input list on the display. |
| `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/MediaInputCommands#showInputStatusBatchable()()` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MediaInputCommands#showInputStatus()` command. |

## Public functions

### hideInputStatus

```
suspend fun hideInputStatus(): Unit
```

Hide the input list on the display.

### hideInputStatusBatchable

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

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

Hide the input list on the display.

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

### renameInput

```
suspend fun renameInput(index: UByte, name: String): Unit
```

Change the name of the specified input.

| Parameters |
|---|---|
| `index: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html` | The index of the input to be renamed. |
| `name: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | The new name for the specified input. |

### renameInputBatchable

```
fun renameInputBatchable(index: UByte, name: String): BatchableCommand<Unit>
```

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

Change the name of the specified input.

| Parameters |
|---|---|
| `index: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html` | The index of the input to be renamed. |
| `name: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | The new name for the specified input. |

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

### selectInput

```
suspend fun selectInput(index: UByte): Unit
```

Change the media input on the device.

| Parameters |
|---|---|
| `index: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html` | The index of the input to select. |

### selectInputBatchable

```
fun selectInputBatchable(index: UByte): BatchableCommand<Unit>
```

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

Change the media input on the device.

| Parameters |
|---|---|
| `index: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html` | The index of the input to select. |

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

### showInputStatus

```
suspend fun showInputStatus(): Unit
```

Show the input list on the display.

### showInputStatusBatchable

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

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

Show the input list on the display.

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