AudioOutputCommands

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

Known direct subclasses
AudioOutput

API for the AudioOutput trait.


Summary

Public functions

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

Rename the specified output.

BatchableCommand<Unit>

The batchable version of renameOutput command.

suspend Unit

Change the output on the device to the specified output.

BatchableCommand<Unit>

The batchable version of selectOutput command.

Public functions

renameOutput

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

Rename the specified output.

Parameters
index: UByte

The index of the output to rename.

name: String

The new name of the specified output.

renameOutputBatchable

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

The batchable version of renameOutput command.

Rename the specified output.

Parameters
index: UByte

The index of the output to rename.

name: String

The new name of the specified output.

Returns
BatchableCommand<Unit>

BatchableCommand

selectOutput

suspend fun selectOutput(index: UByte): Unit

Change the output on the device to the specified output.

Parameters
index: UByte

The index of the output to select.

selectOutputBatchable

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

The batchable version of selectOutput command.

Change the output on the device to the specified output.

Parameters
index: UByte

The index of the output to select.

Returns
BatchableCommand<Unit>

BatchableCommand