OvenCavityOperationalStateCommands

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

Known direct subclasses
OvenCavityOperationalState

API for the OvenCavityOperationalState trait.


Summary

Public functions

suspend OvenCavityOperationalStateTrait.StartCommand.Response

Start the oven if it is in a state where it can be started.

BatchableCommand<OvenCavityOperationalStateTrait.StartCommand.Response>

The batchable version of start command.

suspend OvenCavityOperationalStateTrait.StopCommand.Response

Stop the oven if possible, based on the current operation underway.

BatchableCommand<OvenCavityOperationalStateTrait.StopCommand.Response>

The batchable version of stop command.

Public functions

start

suspend fun start(): OvenCavityOperationalStateTrait.StartCommand.Response

Start the oven if it is in a state where it can be started.

Returns
OvenCavityOperationalStateTrait.StartCommand.Response

The result of the completed Start command.

startBatchable

fun startBatchable(): BatchableCommand<OvenCavityOperationalStateTrait.StartCommand.Response>

The batchable version of start command.

Start the oven if it is in a state where it can be started.

stop

suspend fun stop(): OvenCavityOperationalStateTrait.StopCommand.Response

Stop the oven if possible, based on the current operation underway.

Returns
OvenCavityOperationalStateTrait.StopCommand.Response

The result of the completed Stop command.

stopBatchable

fun stopBatchable(): BatchableCommand<OvenCavityOperationalStateTrait.StopCommand.Response>

The batchable version of stop command.

Stop the oven if possible, based on the current operation underway.