TogglesCommands

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

Known direct subclasses
Toggles

API for the Toggles trait.


Summary

Public functions

suspend Unit
changeToggleSettings(
    updatedToggleSettings: List<TogglesTrait.ToggleSetting>
)

Changes the state of one or more toggles.

BatchableCommand<Unit>

The batchable version of changeToggleSettings command.

Public functions

changeToggleSettings

suspend fun changeToggleSettings(
    updatedToggleSettings: List<TogglesTrait.ToggleSetting>
): Unit

Changes the state of one or more toggles.

Parameters
updatedToggleSettings: List<TogglesTrait.ToggleSetting>

The list of toggles to change.

changeToggleSettingsBatchable

fun changeToggleSettingsBatchable(
    updatedToggleSettings: List<TogglesTrait.ToggleSetting>
): BatchableCommand<Unit>

The batchable version of changeToggleSettings command.

Changes the state of one or more toggles.

Parameters
updatedToggleSettings: List<TogglesTrait.ToggleSetting>

The list of toggles to change.

Returns
BatchableCommand<Unit>

BatchableCommand