ThermostatTrait.AtomicAttributeStatusStruct

class ThermostatTrait.AtomicAttributeStatusStruct : ClusterStruct


The status of an attribute during an atomic write.

Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

AtomicAttributeStatusStruct(attributeId: UInt, statusCode: UByte)

Creates the AtomicAttributeStatusStruct class.

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

UInt

The ID of the attribute.

UByte

The atomic status of an attribute.

Public constructors

AtomicAttributeStatusStruct

AtomicAttributeStatusStruct(attributeId: UInt, statusCode: UByte)

Creates the AtomicAttributeStatusStruct class.

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

attributeId

val attributeIdUInt

The ID of the attribute.

statusCode

val statusCodeUByte

The atomic status of an attribute.