MotionDetectionTrait.MotionDetectionFeature

data class MotionDetectionTrait.MotionDetectionFeature


MotionDetection trait FeatureMap.

Summary

Public constructors

MotionDetectionFeature(
    supportsMotionDetectionTimestampSeconds: Boolean,
    supportsMotionDetectionEventInProgress: Boolean
)

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

Indicates if the motionDetectionEventInProgress attribute will be populated when queried.

Boolean

Indicates if the motionDetectionTimestampSeconds attribute will be populated when queried.

String

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

Public constructors

MotionDetectionFeature

MotionDetectionFeature(
    supportsMotionDetectionTimestampSeconds: Boolean = false,
    supportsMotionDetectionEventInProgress: Boolean = false
)

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

supportsMotionDetectionEventInProgress

val supportsMotionDetectionEventInProgressBoolean

Indicates if the motionDetectionEventInProgress attribute will be populated when queried.

supportsMotionDetectionTimestampSeconds

val supportsMotionDetectionTimestampSecondsBoolean

Indicates if the motionDetectionTimestampSeconds attribute will be populated when queried.

traitId

val traitIdString

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