OccupancySensingTrait.Feature

data class OccupancySensingTrait.Feature


OccupancySensing cluster FeatureMap.

Summary

Public constructors

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

Creates the Feature data class.

Public functions

open ULong

Convert this ClusterBitmap to raw (bytes) format

Public properties

Boolean

Supports sensing using Active InfraRed measurement.

Boolean

Supports sensing using a modality not listed in the other bits.

Boolean

Supports sensing using PIR (Passive InfraRed).

Boolean

Supports sensing using a physical contact.

Boolean

Supports sensing using radar waves (microwave).

Boolean

Supports sensing using analysis of radio signals.

Boolean

Supports sensing using UltraSound.

Boolean

Supports sensing based on analyzing images.

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
)

Creates the Feature data class.

Public functions

toRaw

open fun toRaw(): ULong

Convert this ClusterBitmap to raw (bytes) format

Public properties

activeInfrared

val activeInfraredBoolean

Supports sensing using Active InfraRed measurement.

other

val otherBoolean

Supports sensing using a modality not listed in the other bits.

passiveInfrared

val passiveInfraredBoolean

Supports sensing using PIR (Passive InfraRed).

physicalContact

val physicalContactBoolean

Supports sensing using a physical contact.

radar

val radarBoolean

Supports sensing using radar waves (microwave).

rfSensing

val rfSensingBoolean

Supports sensing using analysis of radio signals.

ultrasonic

val ultrasonicBoolean

Supports sensing using UltraSound.

vision

val visionBoolean

Supports sensing based on analyzing images.