MicrowaveOvenControl

interface MicrowaveOvenControl : MicrowaveOvenControlTrait.Attributes, MatterTrait, MicrowaveOvenControlCommands


API for the MicrowaveOvenControl trait. This trait defines an interface for controlling a microwave oven device.

Summary

Nested types

Descriptor enum for this trait's attributes.

Descriptor enum for this trait's commands.

Public properties

open TraitFactory<MicrowaveOvenControl>

Inherited functions

From com.google.home.matter.standard.MicrowaveOvenControlCommands
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.

From com.google.home.TraitStateInvalidation
suspend Unit

Inherited properties

From com.google.home.matter.standard.MicrowaveOvenControlTrait.Attributes
List<UInt>

A list of client-generated commands which are supported by this cluster server instance.

List<UInt>

A list of the attribute IDs of the attributes supported by the cluster instance.

UShort

The revision of the server cluster specification supported by the cluster instance.

UInt?

The total cook time associated with the operation of the device.

MicrowaveOvenControlTrait.Feature

Whether the server supports zero or more optional cluster features.

List<UInt>

A list of server-generated commands (server to client) which are supported by this cluster server instance.

UInt?

The maximum value to which the cookTime attribute can be set.

UByte?

The maximum power level that can be set.

UByte?

The minimum power level that can be set.

UByte?

The power level associated with the operation of the device.

UByte?

The increment of power that can be set.

UByte?

The index of supportedWatts of the currently selected power setting.

List<UShort>?

The list of supported power levels, in watts.

UShort?

The power rating of the device, in watts.

From com.google.home.Trait

Public functions

supports

fun supports(attribute: MicrowaveOvenControl.Attribute): Boolean

supports

fun supports(command: MicrowaveOvenControl.Command): Boolean

Public properties

factory

open val factoryTraitFactory<MicrowaveOvenControl>