UnitTestingTrait.Bitmap32MaskMap

data class UnitTestingTrait.Bitmap32MaskMap


Bitmap32MaskMap. Could be used with nullableBitmap32.

Summary

Public constructors

Bitmap32MaskMap(
    maskVal1: Boolean,
    maskVal2: Boolean,
    maskVal3: Boolean,
    maskVal4: Boolean
)

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

Mask value 0x1.

Boolean

Mask value 0x2.

Boolean

Mask value 0x4.

Boolean

Mask value 0x40000000.

String

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

Public constructors

Bitmap32MaskMap

Bitmap32MaskMap(
    maskVal1: Boolean = false,
    maskVal2: Boolean = false,
    maskVal3: Boolean = false,
    maskVal4: Boolean = false
)

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

maskVal1

val maskVal1Boolean

Mask value 0x1.

maskVal2

val maskVal2Boolean

Mask value 0x2.

maskVal3

val maskVal3Boolean

Mask value 0x4.

maskVal4

val maskVal4Boolean

Mask value 0x40000000.

traitId

val traitIdString

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