ChannelTrait.Feature

data class ChannelTrait.Feature


Channel cluster FeatureMap.

Summary

Public constructors

Feature(
    channelList: Boolean,
    lineupInfo: Boolean,
    electronicGuide: Boolean,
    recordProgram: 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

Device provides a list of available channels.

Boolean
Boolean

Device provides a reference to an external source of lineup information.

Boolean
String

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

Public constructors

Feature

Feature(
    channelList: Boolean = false,
    lineupInfo: Boolean = false,
    electronicGuide: Boolean = false,
    recordProgram: 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.

channelList

val channelListBoolean

Device provides a list of available channels.

electronicGuide

val electronicGuideBoolean

lineupInfo

val lineupInfoBoolean

Device provides a reference to an external source of lineup information.

recordProgram

val recordProgramBoolean

traitId

val traitIdString

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