ColorControlTrait.ColorLoopUpdateFlags

data class ColorControlTrait.ColorLoopUpdateFlags : ClusterBitmap


Specifies which color loop attributes to update before a color loop from the ColorLoopSet command starts.

Summary

Public constructors

ColorLoopUpdateFlags(
    updateAction: Boolean,
    updateDirection: Boolean,
    updateTime: Boolean,
    updateStartHue: Boolean
)

Creates the ColorLoopUpdateFlags data class.

Public functions

open ULong

Public properties

Boolean

Whether the device adheres to the action parameter in order to process the command.

Boolean

Whether the device updates the colorLoopDirection attribute with the direction parameter value.

Boolean

Whether the device updates the colorLoopStartEnhancedHue attribute with the startHue parameter value.

Boolean

Whether the device updates the colorLoopTime attribute with the time parameter value.

Public constructors

ColorLoopUpdateFlags

ColorLoopUpdateFlags(
    updateAction: Boolean = false,
    updateDirection: Boolean = false,
    updateTime: Boolean = false,
    updateStartHue: Boolean = false
)

Creates the ColorLoopUpdateFlags data class.

Public functions

toRaw

open fun toRaw(): ULong

Public properties

updateAction

val updateActionBoolean

Whether the device adheres to the action parameter in order to process the command.

updateDirection

val updateDirectionBoolean

Whether the device updates the colorLoopDirection attribute with the direction parameter value.

updateStartHue

val updateStartHueBoolean

Whether the device updates the colorLoopStartEnhancedHue attribute with the startHue parameter value.

updateTime

val updateTimeBoolean

Whether the device updates the colorLoopTime attribute with the time parameter value.