LevelControlTrait.Feature

data class LevelControlTrait.Feature


LevelControl cluster FeatureMap. Some behaviors of these features are described in the cluster attributes and commands. For complete details of these features, see the Matter Specification.

Summary

Public constructors

Feature(onOff: Boolean, lighting: Boolean, frequency: 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

Supports frequency attributes and behavior.

Boolean

Has behavior that supports lighting apps.

Boolean

Dependency with the OnOff cluster.

String

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

Public constructors

Feature

Feature(
    onOff: Boolean = false,
    lighting: Boolean = false,
    frequency: 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.

frequency

val frequencyBoolean

Supports frequency attributes and behavior.

lighting

val lightingBoolean

Has behavior that supports lighting apps.

onOff

val onOffBoolean

Dependency with the OnOff cluster.

traitId

val traitIdString

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