UnitTestingTrait.Bitmap16MaskMap

data class UnitTestingTrait.Bitmap16MaskMap


Bitmap16MaskMap

Summary

Public constructors

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

Creates the Bitmap16MaskMap 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 0x4000.

String

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

Public constructors

Bitmap16MaskMap

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

Creates the Bitmap16MaskMap 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 0x4000.

traitId

val traitIdString

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