UnitTestingTrait.SimpleBitmap

data class UnitTestingTrait.SimpleBitmap


SimpleBitmap

Summary

Public constructors

SimpleBitmap(valueA: Boolean, valueB: Boolean, valueC: Boolean)

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

String

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

Boolean

Bitmap value 0x1.

Boolean

Bitmap value 0x2.

Boolean

Bitmap value 0x4.

Public constructors

SimpleBitmap

SimpleBitmap(
    valueA: Boolean = false,
    valueB: Boolean = false,
    valueC: Boolean = false
)

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

traitId

val traitIdString

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

valueA

val valueABoolean

Bitmap value 0x1.

valueB

val valueBBoolean

Bitmap value 0x2.

valueC

val valueCBoolean

Bitmap value 0x4.