OnOffTrait.OnOffControlBitmap

data class OnOffTrait.OnOffControlBitmap : ClusterBitmap


Flags for cluster control.

Summary

Public constructors

OnOffControlBitmap(acceptOnlyWhenOn: Boolean)

Creates the OnOffControlBitmap data class.

Public functions

open ULong

Public properties

Boolean

Indicates a command is only accepted when the onOff attribute is true.

Public constructors

OnOffControlBitmap

OnOffControlBitmap(acceptOnlyWhenOn: Boolean = false)

Creates the OnOffControlBitmap data class.

Public functions

toRaw

open fun toRaw(): ULong

Public properties

acceptOnlyWhenOn

val acceptOnlyWhenOnBoolean

Indicates a command is only accepted when the onOff attribute is true.