ExtendedMediaInputCommands

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

Known direct subclasses
ExtendedMediaInput

API for the ExtendedMediaInput trait.


Summary

Public functions

suspend Unit

Select the next input.

BatchableCommand<Unit>

The batchable version of nextInput command.

suspend Unit

Select the previous input.

BatchableCommand<Unit>

The batchable version of previousInput command.

suspend Unit

Set the media input.

BatchableCommand<Unit>

The batchable version of selectCustomInput command.

Public functions

nextInput

suspend fun nextInput(): Unit

Select the next input. Applicable only when the customInputsOrdered attribute is set to true.

nextInputBatchable

fun nextInputBatchable(): BatchableCommand<Unit>

The batchable version of nextInput command.

Select the next input. Applicable only when the customInputsOrdered attribute is set to true.

Returns
BatchableCommand<Unit>

BatchableCommand

previousInput

suspend fun previousInput(): Unit

Select the previous input. Applicable only when the customInputsOrdered attribute is set to true.

previousInputBatchable

fun previousInputBatchable(): BatchableCommand<Unit>

The batchable version of previousInput command.

Select the previous input. Applicable only when the customInputsOrdered attribute is set to true.

Returns
BatchableCommand<Unit>

BatchableCommand

selectCustomInput

suspend fun selectCustomInput(newInput: String): Unit

Set the media input.

Parameters
newInput: String

Key of the new input.

selectCustomInputBatchable

fun selectCustomInputBatchable(newInput: String): BatchableCommand<Unit>

The batchable version of selectCustomInput command.

Set the media input.

Parameters
newInput: String

Key of the new input.

Returns
BatchableCommand<Unit>

BatchableCommand