ColorControlTrait.Feature

data class ColorControlTrait.Feature


ColorControl cluster FeatureMap.

Summary

Public constructors

Feature(
    hueAndSaturation: Boolean,
    enhancedHue: Boolean,
    colorLoop: Boolean,
    xy: Boolean,
    colorTemperature: 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 color loop.

Boolean

Supports specification of color temperature.

Boolean

Supports enhanced hue.

Boolean

Supports color specification via hue and saturation.

String

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

Boolean

Supports color specification via XY.

Public constructors

Feature

Feature(
    hueAndSaturation: Boolean = false,
    enhancedHue: Boolean = false,
    colorLoop: Boolean = false,
    xy: Boolean = false,
    colorTemperature: 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.

colorLoop

val colorLoopBoolean

Supports color loop.

colorTemperature

val colorTemperatureBoolean

Supports specification of color temperature.

enhancedHue

val enhancedHueBoolean

Supports enhanced hue.

hueAndSaturation

val hueAndSaturationBoolean

Supports color specification via hue and saturation.

traitId

val traitIdString

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

xy

val xyBoolean

Supports color specification via XY.