ArmDisarmTrait.AvailableArmLevels

class ArmDisarmTrait.AvailableArmLevels : ClusterStruct


The supported security levels of the device. If this attribute is not reported, the device supports only one level.

Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

Creates the AvailableArmLevels 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

List<ArmDisarmTrait.Levels>

The available security levels supported by the device.

Boolean

If set to true, additional grammar for increase or decrease logic applies, in the order of the levels array.

Public constructors

AvailableArmLevels

AvailableArmLevels(
    levels: List<ArmDisarmTrait.Levels> = emptyList(),
    ordered: Boolean = false
)

Creates the AvailableArmLevels class.

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

levels

val levelsList<ArmDisarmTrait.Levels>

The available security levels supported by the device.

ordered

val orderedBoolean

If set to true, additional grammar for increase or decrease logic applies, in the order of the levels array. If this value is set to false, additional grammar for increase or decrease logic is not supported.