ExtendedColorControlTrait.MoveToColorHsvCommand.Request

class ExtendedColorControlTrait.MoveToColorHsvCommand.Request


The request payload for the MoveToColorHSV command.

Summary

Public constructors

Request(hue: Float, saturation: Float, value: Float)

Creates a request payload for the MoveToColorHSV command.

Public properties

Float

Moves a device to the provided hue, whose range is 0 to 360.

Float

Moves a device to the provided saturation, whose range is 0 to 1.

Float

Moves a device to the provided value, whose range is 0 to 1.

Public constructors

Request

Request(hue: Float = 0.0f, saturation: Float = 0.0f, value: Float = 0.0f)

Creates a request payload for the MoveToColorHSV command.

Public properties

hue

val hueFloat

Moves a device to the provided hue, whose range is 0 to 360.

saturation

val saturationFloat

Moves a device to the provided saturation, whose range is 0 to 1.

value

val valueFloat

Moves a device to the provided value, whose range is 0 to 1.