MicrowaveOvenModeTrait.Attributes

@Generated(value = ["GoogleHomePlatformCodegen"])
interface MicrowaveOvenModeTrait.Attributes : ClusterStruct

Known direct subclasses
MicrowaveOvenMode

API for the MicrowaveOvenMode trait.


Attributes for the MicrowaveOvenMode cluster.

Summary

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

Returns the value of the field for the given tag ID.

Public properties

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.

UByte?

The current mode of the microwave oven device.

UInt

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.

List<MicrowaveOvenModeTrait.ModeOptionStruct>?

The modes supported by the microwave oven device.

Public functions

getDescriptor

@HomeExperimentalApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

@HomeExperimentalApi
open fun getFieldValueById(tagId: UInt): Any?

Returns the value of the field for the given tag ID.

Public properties

acceptedCommandList

val acceptedCommandListList<UInt>

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

attributeList

val attributeListList<UInt>

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

clusterRevision

val clusterRevisionUShort

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

currentMode

val currentModeUByte?

The current mode of the microwave oven device.

Access type: Read

featureMap

val featureMapUInt

Whether the server supports zero or more optional cluster features. A cluster feature is a set of cluster elements that are mandatory or optional for a defined feature of the cluster. If a cluster feature is supported by the cluster instance, then the corresponding bit is set to 1, otherwise the bit is set to 0 (zero).

generatedCommandList

val generatedCommandListList<UInt>

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

supportedModes

val supportedModesList<MicrowaveOvenModeTrait.ModeOptionStruct>?

The modes supported by the microwave oven device.

Access type: Read