ThermostatTrait.PresetTypeFeaturesBitmap

data class ThermostatTrait.PresetTypeFeaturesBitmap


Preset type features.

Summary

Public constructors

PresetTypeFeaturesBitmap(automatic: Boolean, supportsNames: Boolean)

Creates the PresetTypeFeaturesBitmap data class.

Public functions

open ULong

Convert this ClusterBitmap to raw (bytes) format

Public properties

Boolean

Preset may be automatically activated by the thermostat.

String

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

Boolean

Preset supports user-provided names.

String

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

Public constructors

PresetTypeFeaturesBitmap

PresetTypeFeaturesBitmap(
    automatic: Boolean = false,
    supportsNames: Boolean = false
)

Creates the PresetTypeFeaturesBitmap data class.

Public functions

toRaw

open fun toRaw(): ULong

Convert this ClusterBitmap to raw (bytes) format

Public properties

automatic

val automaticBoolean

Preset may be automatically activated by the thermostat.

bitmapName

val bitmapNameString

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

supportsNames

val supportsNamesBoolean

Preset supports user-provided names.

traitId

val traitIdString

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