ExtendedColorControlTrait.MoveToColorRgbCommand.Request

class ExtendedColorControlTrait.MoveToColorRgbCommand.Request


The request payload for the MoveToColorRGB command.

Summary

Public constructors

Request(red: UByte, green: UByte, blue: UByte)

Creates a request payload for the MoveToColorRGB command.

Public properties

UByte

Moves a device to the provided color of blue, whose range is 0 to 155.

UByte

Moves a device to the provided color of green, whose range is 0 to 155.

UByte

Moves a device to the provided color of red, whose range is 0 to 155.

Public constructors

Request

Request(red: UByte, green: UByte, blue: UByte)

Creates a request payload for the MoveToColorRGB command.

Public properties

blue

val blueUByte

Moves a device to the provided color of blue, whose range is 0 to 155.

green

val greenUByte

Moves a device to the provided color of green, whose range is 0 to 155.

red

val redUByte

Moves a device to the provided color of red, whose range is 0 to 155.