OvenModeCommands

interface OvenModeCommands

Known direct subclasses
OvenMode

API for the OvenMode trait.


Summary

Public functions

suspend OvenModeTrait.ChangeToModeCommand.Response
changeToMode(newMode: UByte)

Change device modes.

Public functions

changeToMode

suspend fun changeToMode(newMode: UByte): OvenModeTrait.ChangeToModeCommand.Response

Change device modes.

Parameters
newMode: UByte

The mode to change to. This must be one of the supportedModes.

Returns
OvenModeTrait.ChangeToModeCommand.Response

The result of the completed ChangeToMode command.