AirQualityTrait.Feature

data class AirQualityTrait.Feature


AirQuality cluster FeatureMap.

Summary

Public constructors

Feature(
    fair: Boolean,
    moderate: Boolean,
    veryPoor: Boolean,
    extremelyPoor: 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

Extremely poor air quality level is supported.

Boolean

Fair air quality level is supported.

Boolean

Moderate air quality level is supported.

String

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

Boolean

Very poor air quality level is supported.

Public constructors

Feature

Feature(
    fair: Boolean = false,
    moderate: Boolean = false,
    veryPoor: Boolean = false,
    extremelyPoor: 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.

extremelyPoor

val extremelyPoorBoolean

Extremely poor air quality level is supported.

fair

val fairBoolean

Fair air quality level is supported.

moderate

val moderateBoolean

Moderate air quality level is supported.

traitId

val traitIdString

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

veryPoor

val veryPoorBoolean

Very poor air quality level is supported.