GeneralDiagnosticsTrait.DeviceLoadStruct

class GeneralDiagnosticsTrait.DeviceLoadStruct : ClusterStruct


Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

DeviceLoadStruct(
    currentSubscriptions: UShort,
    currentSubscriptionsForFabric: UShort,
    totalSubscriptionsEstablished: UInt,
    totalInteractionModelMessagesSent: UInt,
    totalInteractionModelMessagesReceived: UInt
)

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

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

Public constructors

DeviceLoadStruct

DeviceLoadStruct(
    currentSubscriptions: UShort,
    currentSubscriptionsForFabric: UShort,
    totalSubscriptionsEstablished: UInt,
    totalInteractionModelMessagesSent: UInt,
    totalInteractionModelMessagesReceived: UInt
)

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

currentSubscriptions

val currentSubscriptionsUShort

currentSubscriptionsForFabric

val currentSubscriptionsForFabricUShort

totalInteractionModelMessagesReceived

val totalInteractionModelMessagesReceivedUInt

totalInteractionModelMessagesSent

val totalInteractionModelMessagesSentUInt

totalSubscriptionsEstablished

val totalSubscriptionsEstablishedUInt