ColorControlTrait.ColorLoopAction

enum ColorControlTrait.ColorLoopAction : Enum, ClusterEnum


The action to take for a color loop.

Summary

Enum Values

ActivateFromColorLoopStartEnhancedHue

Activate the color loop from the value in the colorLoopStartEnhancedHue attribute.

ActivateFromEnhancedCurrentHue

Activate the color loop from the value in the enhancedCurrentHue attribute.

Deactivate

Deactivate the color loop.

UnknownValue

The enum value is out of range.

Public functions

ColorControlTrait.ColorLoopAction
valueOf(value: String)

Returns the enum constant of this type with the specified name.

Array<ColorControlTrait.ColorLoopAction>

Returns an array containing the constants of this enum type, in the order they're declared.

Public properties

open String
open String
open ULong

Enum Values

ActivateFromColorLoopStartEnhancedHue

val ColorControlTrait.ColorLoopAction.ActivateFromColorLoopStartEnhancedHueColorControlTrait.ColorLoopAction

Activate the color loop from the value in the colorLoopStartEnhancedHue attribute.

ActivateFromEnhancedCurrentHue

val ColorControlTrait.ColorLoopAction.ActivateFromEnhancedCurrentHueColorControlTrait.ColorLoopAction

Activate the color loop from the value in the enhancedCurrentHue attribute.

UnknownValue

val ColorControlTrait.ColorLoopAction.UnknownValueColorControlTrait.ColorLoopAction

The enum value is out of range. For example, a newer Matter cluster definition may support enum values not yet supported by the Home APIs.

Public functions

valueOf

fun valueOf(value: String): ColorControlTrait.ColorLoopAction

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws
kotlin.IllegalArgumentException

if this enum type has no constant with the specified name

values

fun values(): Array<ColorControlTrait.ColorLoopAction>

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

Public properties

traitId

open val traitIdString

typeName

open val typeNameString

value

open val valueULong