MicrowaveOvenControlCommands

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.

suspend Unit

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

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.

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