WindowCoveringTrait.Feature

data class WindowCoveringTrait.Feature


WindowCovering cluster FeatureMap.

Summary

Public constructors

Feature(
    lift: Boolean,
    tilt: Boolean,
    positionAwareLift: Boolean,
    absolutePosition: Boolean,
    positionAwareTilt: Boolean
)

Creates the Feature data class.

Public functions

open ULong

Convert this ClusterBitmap to raw (bytes) format

Public properties

Boolean

Absolute positioning is supported.

String

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

Boolean

Lift control and behavior for lifting or sliding window coverings.

Boolean

Position-aware lift control is supported.

Boolean

Position-aware tilt control is supported.

Boolean

Tilt control and behavior for tilting window coverings.

String

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

Public constructors

Feature

Feature(
    lift: Boolean = false,
    tilt: Boolean = false,
    positionAwareLift: Boolean = false,
    absolutePosition: Boolean = false,
    positionAwareTilt: Boolean = false
)

Creates the Feature data class.

Public functions

toRaw

open fun toRaw(): ULong

Convert this ClusterBitmap to raw (bytes) format

Public properties

absolutePosition

val absolutePositionBoolean

Absolute positioning is supported.

bitmapName

val bitmapNameString

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

lift

val liftBoolean

Lift control and behavior for lifting or sliding window coverings.

positionAwareLift

val positionAwareLiftBoolean

Position-aware lift control is supported.

positionAwareTilt

val positionAwareTiltBoolean

Position-aware tilt control is supported.

tilt

val tiltBoolean

Tilt control and behavior for tilting window coverings.

traitId

val traitIdString

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