ColorControl.Command

enum ColorControl.Command : Enum


Descriptor enum for this trait's commands.

Summary

Enum Values

ColorLoopSet

The colorLoopSet trait command.

EnhancedMoveHue

The enhancedMoveHue trait command.

EnhancedMoveToHue

The enhancedMoveToHue trait command.

EnhancedMoveToHueAndSaturation

The enhancedMoveToHueAndSaturation trait command.

EnhancedStepHue

The enhancedStepHue trait command.

MoveColor

The moveColor trait command.

MoveColorTemperature

The moveColorTemperature trait command.

MoveHue

The moveHue trait command.

MoveSaturation

The moveSaturation trait command.

MoveToColor

The moveToColor trait command.

MoveToColorTemperature

The moveToColorTemperature trait command.

MoveToHue

The moveToHue trait command.

MoveToHueAndSaturation

The moveToHueAndSaturation trait command.

MoveToSaturation

The moveToSaturation trait command.

StepColor

The stepColor trait command.

StepColorTemperature

The stepColorTemperature trait command.

StepHue

The stepHue trait command.

StepSaturation

The stepSaturation trait command.

StopMoveStep

The stopMoveStep trait command.

Public functions

ColorControl.Command
valueOf(value: String)

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

Array<ColorControl.Command>

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

Public properties

UInt

Enum Values

MoveColor

val ColorControl.Command.MoveColorColorControl.Command

The moveColor trait command.

MoveHue

val ColorControl.Command.MoveHueColorControl.Command

The moveHue trait command.

MoveToColor

val ColorControl.Command.MoveToColorColorControl.Command

The moveToColor trait command.

MoveToHue

val ColorControl.Command.MoveToHueColorControl.Command

The moveToHue trait command.

StepColor

val ColorControl.Command.StepColorColorControl.Command

The stepColor trait command.

StepHue

val ColorControl.Command.StepHueColorControl.Command

The stepHue trait command.

Public functions

valueOf

fun valueOf(value: String): ColorControl.Command

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<ColorControl.Command>

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

tag

val tagUInt