ZoneManagementTrait.ZoneTriggerControlStruct

class ZoneManagementTrait.ZoneTriggerControlStruct : ClusterStruct


Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

ZoneTriggerControlStruct(
    zoneId: UShort,
    initialDuration: UInt,
    augmentationDuration: UInt,
    maxDuration: UInt,
    blindDuration: UInt,
    sensitivity: OptionalValue<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 constructors

ZoneTriggerControlStruct

ZoneTriggerControlStruct(
    zoneId: UShort,
    initialDuration: UInt,
    augmentationDuration: UInt,
    maxDuration: UInt,
    blindDuration: UInt,
    sensitivity: OptionalValue<UByte> = OptionalValue.absent()
)

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

augmentationDuration

val augmentationDurationUInt

blindDuration

val blindDurationUInt

initialDuration

val initialDurationUInt

maxDuration

val maxDurationUInt

sensitivity

val sensitivityOptionalValue<UByte>

zoneId

val zoneIdUShort