ExtendedOperationalStateTrait.OperationalStateFeature

data class ExtendedOperationalStateTrait.OperationalStateFeature


ExtendedOperationalState cluster FeatureMap.

Summary

Public constructors

OperationalStateFeature(
    supportsZones: Boolean,
    supportsDuration: Boolean
)

Creates the OperationalStateFeature data class.

Public functions

open ULong

Convert this ClusterBitmap to raw (bytes) format

Public properties

String

Name of the Matter bitmap, in UpperCamelCase, e.g. "OnOffControlBitmap" from OnOff Cluster.

Boolean

Supports operating for a user-specified duration of time.

Boolean

Supports limiting its operation in user-specified zones.

String

Trait identifier of the Matter Cluster that defines the bitmap Data Type.

Public constructors

OperationalStateFeature

OperationalStateFeature(
    supportsZones: Boolean = false,
    supportsDuration: Boolean = false
)

Creates the OperationalStateFeature data class.

Public functions

toRaw

open fun toRaw(): ULong

Convert this ClusterBitmap to raw (bytes) format

Public properties

bitmapName

val bitmapNameString

Name of the Matter bitmap, in UpperCamelCase, e.g. "OnOffControlBitmap" from OnOff Cluster.

supportsDuration

val supportsDurationBoolean

Supports operating for a user-specified duration of time.

supportsZones

val supportsZonesBoolean

Supports limiting its operation in user-specified zones.

traitId

val traitIdString

Trait identifier of the Matter Cluster that defines the bitmap Data Type. Refer to ClusterId.traitId for the format.