OccupancySensingTrait.Feature

data class OccupancySensingTrait.Feature


Summary

Public constructors

Feature(
    other: Boolean,
    passiveInfrared: Boolean,
    ultrasonic: Boolean,
    physicalContact: Boolean,
    activeInfrared: Boolean,
    radar: Boolean,
    rfSensing: Boolean,
    vision: Boolean
)

Public functions

open ULong

Convert this ClusterBitmap to raw (bytes) format

Public properties

Boolean
String

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

Boolean
Boolean
Boolean
Boolean
Boolean
String

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

Boolean
Boolean

Public constructors

Feature

Feature(
    other: Boolean = false,
    passiveInfrared: Boolean = false,
    ultrasonic: Boolean = false,
    physicalContact: Boolean = false,
    activeInfrared: Boolean = false,
    radar: Boolean = false,
    rfSensing: Boolean = false,
    vision: Boolean = false
)

Public functions

toRaw

open fun toRaw(): ULong

Convert this ClusterBitmap to raw (bytes) format

Public properties

activeInfrared

val activeInfraredBoolean

bitmapName

val bitmapNameString

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

other

val otherBoolean

passiveInfrared

val passiveInfraredBoolean

physicalContact

val physicalContactBoolean

radar

val radarBoolean

rfSensing

val rfSensingBoolean

traitId

val traitIdString

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

ultrasonic

val ultrasonicBoolean

vision

val visionBoolean