MicrowaveOvenControlTrait.Feature

data class MicrowaveOvenControlTrait.Feature


MicrowaveOvenControl cluster FeatureMap.

Summary

Public constructors

Feature(
    powerAsNumber: Boolean,
    powerInWatts: Boolean,
    powerNumberLimits: Boolean
)

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

Power is specified as a unitless number or a percentage.

Boolean

Power is specified in watts.

Boolean

Supports the limit attributes used with the powerAsNumber feature.

String

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

Public constructors

Feature

Feature(
    powerAsNumber: Boolean = false,
    powerInWatts: Boolean = false,
    powerNumberLimits: Boolean = false
)

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

powerAsNumber

val powerAsNumberBoolean

Power is specified as a unitless number or a percentage.

powerInWatts

val powerInWattsBoolean

Power is specified in watts.

powerNumberLimits

val powerNumberLimitsBoolean

Supports the limit attributes used with the powerAsNumber feature.

traitId

val traitIdString

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