MicrowaveOvenControlCommands

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

Known direct subclasses
MicrowaveOvenControl

API for the MicrowaveOvenControl trait.


Summary

Public functions

suspend Unit
addMoreTime(timeToAdd: UInt)

Add more time to the cookTime attribute of the server.

BatchableCommand<Unit>

The batchable version of addMoreTime command.

suspend Unit

Sets the cooking parameters associated with the operation of the device.

BatchableCommand<Unit>

The batchable version of setCookingParameters command.

Public functions

addMoreTime

suspend fun addMoreTime(timeToAdd: UInt): Unit

Add more time to the cookTime attribute of the server.

Parameters
timeToAdd: UInt

The number of seconds to be added to the cookTime attribute.

addMoreTimeBatchable

fun addMoreTimeBatchable(timeToAdd: UInt): BatchableCommand<Unit>

The batchable version of addMoreTime command.

Add more time to the cookTime attribute of the server.

Parameters
timeToAdd: UInt

The number of seconds to be added to the cookTime attribute.

Returns
BatchableCommand<Unit>

BatchableCommand

setCookingParameters

suspend fun setCookingParameters(optionalArgs: MicrowaveOvenControlTrait.SetCookingParametersCommand.OptionalArgs.() -> Unit = {}): Unit

Sets the cooking parameters associated with the operation of the device.

Parameters
optionalArgs: MicrowaveOvenControlTrait.SetCookingParametersCommand.OptionalArgs.() -> Unit = {}

Receiver for the optional arguments of this command

setCookingParametersBatchable

fun setCookingParametersBatchable(optionalArgs: MicrowaveOvenControlTrait.SetCookingParametersCommand.OptionalArgs.() -> Unit = {}): BatchableCommand<Unit>

The batchable version of setCookingParameters command.

Sets the cooking parameters associated with the operation of the device.

Parameters
optionalArgs: MicrowaveOvenControlTrait.SetCookingParametersCommand.OptionalArgs.() -> Unit = {}

Receiver for the optional arguments of this command

Returns
BatchableCommand<Unit>

BatchableCommand