MediaInputCommands

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

Known direct subclasses
MediaInput

API for the MediaInput trait.


Summary

Public functions

suspend Unit

Hide the input list on the display.

BatchableCommand<Unit>

The batchable version of hideInputStatus command.

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

Change the name of the specified input.

BatchableCommand<Unit>

The batchable version of renameInput command.

suspend Unit

Change the media input on the device.

BatchableCommand<Unit>

The batchable version of selectInput command.

suspend Unit

Show the input list on the display.

BatchableCommand<Unit>

The batchable version of 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 hideInputStatus command.

Hide the input list on the display.

Returns
BatchableCommand<Unit>

BatchableCommand

renameInput

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

Change the name of the specified input.

Parameters
index: UByte

The index of the input to be renamed.

name: String

The new name for the specified input.

renameInputBatchable

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

The batchable version of renameInput command.

Change the name of the specified input.

Parameters
index: UByte

The index of the input to be renamed.

name: String

The new name for the specified input.

Returns
BatchableCommand<Unit>

BatchableCommand

selectInput

suspend fun selectInput(index: UByte): Unit

Change the media input on the device.

Parameters
index: UByte

The index of the input to select.

selectInputBatchable

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

The batchable version of selectInput command.

Change the media input on the device.

Parameters
index: UByte

The index of the input to select.

Returns
BatchableCommand<Unit>

BatchableCommand

showInputStatus

suspend fun showInputStatus(): Unit

Show the input list on the display.

showInputStatusBatchable

fun showInputStatusBatchable(): BatchableCommand<Unit>

The batchable version of showInputStatus command.

Show the input list on the display.

Returns
BatchableCommand<Unit>

BatchableCommand