ObjectDetectionTrait.ObjectDetectionFeature

data class ObjectDetectionTrait.ObjectDetectionFeature


Summary

Public constructors

ObjectDetectionFeature(
    faceDetection: Boolean,
    personDetection: Boolean,
    packageDetection: Boolean,
    animalDetection: Boolean,
    vehicleDetection: 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
String

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

Boolean

Public constructors

ObjectDetectionFeature

ObjectDetectionFeature(
    faceDetection: Boolean = false,
    personDetection: Boolean = false,
    packageDetection: Boolean = false,
    animalDetection: Boolean = false,
    vehicleDetection: Boolean = false
)

Public functions

toRaw

open fun toRaw(): ULong

Convert this ClusterBitmap to raw (bytes) format

Public properties

animalDetection

val animalDetectionBoolean

bitmapName

val bitmapNameString

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

faceDetection

val faceDetectionBoolean

packageDetection

val packageDetectionBoolean

personDetection

val personDetectionBoolean

traitId

val traitIdString

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

vehicleDetection

val vehicleDetectionBoolean