ThermostatTrait.AtomicAttributeStatusStruct

class ThermostatTrait.AtomicAttributeStatusStruct : ClusterStruct


Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

AtomicAttributeStatusStruct(attributeId: UInt, statusCode: UByte)

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
UByte

Public constructors

AtomicAttributeStatusStruct

AtomicAttributeStatusStruct(attributeId: UInt, statusCode: UByte)

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

attributeId

val attributeIdUInt

statusCode

val statusCodeUByte