PowerSourceTrait.Feature

data class PowerSourceTrait.Feature


Summary

Public constructors

Feature(
    wired: Boolean,
    battery: Boolean,
    rechargeable: Boolean,
    replaceable: Boolean
)

Public functions

open ULong

Convert this ClusterBitmap to raw (bytes) format

Public properties

Boolean
String

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

Boolean
Boolean
String

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

Boolean

Public constructors

Feature

Feature(
    wired: Boolean = false,
    battery: Boolean = false,
    rechargeable: Boolean = false,
    replaceable: Boolean = false
)

Public functions

toRaw

open fun toRaw(): ULong

Convert this ClusterBitmap to raw (bytes) format

Public properties

battery

val batteryBoolean

bitmapName

val bitmapNameString

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

rechargeable

val rechargeableBoolean

replaceable

val replaceableBoolean

traitId

val traitIdString

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

wired

val wiredBoolean