OvenCavityOperationalStateTrait.Attributes

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

Known direct subclasses
OvenCavityOperationalState

API for the OvenCavityOperationalState trait.


Attributes for the OvenCavityOperationalState 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.

UInt?

The estimated time, in seconds, before the operation completes.

UByte?

The current phase of operation being performed by the oven.

OvenCavityOperationalStateTrait.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.

OvenCavityOperationalStateTrait.ErrorStateStruct?

The details of any current error condition being experienced by the oven when the operationalState attribute is Error.

OvenCavityOperationalStateTrait.OperationalStateEnum?

The current operational state of the oven.

List<OvenCavityOperationalStateTrait.OperationalStateStruct>?

The set of possible operational states that the oven exposes.

List<String>?

The set of phases that the oven can go through for the selected function or mode.

Public functions

getDescriptor

@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

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

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

Public properties

acceptedCommandList

val acceptedCommandList: List<UInt>

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

attributeList

val attributeList: List<UInt>

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

clusterRevision

val clusterRevision: UShort

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

countdownTime

val countdownTime: UInt?

The estimated time, in seconds, before the operation completes.

Access type: Read

currentPhase

val currentPhase: UByte?

The current phase of operation being performed by the oven.

Access type: Read

featureMap

val featureMap: OvenCavityOperationalStateTrait.Feature

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 generatedCommandList: List<UInt>

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

operationalError

val operationalError: OvenCavityOperationalStateTrait.ErrorStateStruct?

The details of any current error condition being experienced by the oven when the operationalState attribute is Error.

Access type: Read

operationalState

val operationalState: OvenCavityOperationalStateTrait.OperationalStateEnum?

The current operational state of the oven.

Access type: Read

operationalStateList

val operationalStateList: List<OvenCavityOperationalStateTrait.OperationalStateStruct>?

The set of possible operational states that the oven exposes.

Access type: Read

phaseList

val phaseList: List<String>?

The set of phases that the oven can go through for the selected function or mode. Only the following strings may be used: "pre-heating", "pre-heated", and "cooling down".

Access type: Read