ModeSelectTrait.Feature

data class ModeSelectTrait.Feature


ModeSelect cluster FeatureMap.

Summary

Public constructors

Feature(onOff: Boolean)

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

The cluster instance has a dependency with an OnOff cluster on the same endpoint.

String

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

Public constructors

Feature

Feature(onOff: Boolean = false)

Creates the Feature 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.

onOff

val onOffBoolean

The cluster instance has a dependency with an OnOff cluster on the same endpoint. See the onMode attribute for more information.

traitId

val traitIdString

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