ExtendedColorControlTrait.Attributes

@Generated(value = ["GoogleHomePlatformCodegen"])
interface ExtendedColorControlTrait.Attributes

Known direct subclasses
ExtendedColorControl

API for the ExtendedColorControl trait.


Attributes for the ExtendedColorControl cluster.

Summary

Public properties

List<UInt>

A list of client-generated commands which are supported by this cluster server instance.

List<UInt>

A list of the attribute IDs of the attributes supported by the cluster instance.

UShort

The revision of the server cluster specification supported by the cluster instance.

ULong?

Unix timestamp when the color loop effect is expected to end.

UByte?

The current color of blue in RGB semantics, with a range of 0 to 255.

UByte?

The current color of green in RGB semantics, with a range of 0 to 255.

Float?

The current hue in HSV semantics, with a range of 0 to 360.

String?

Name of the current color.

UByte?

The current color of red in RGB semantics, with a range of 0 to 255.

Float?

The current saturation in HSV semantics, with a range of 0 to 1.

Float?

The current value in HSV semantics, with a range of 0 to 1.

UInt

Whether the server supports zero or more optional cluster features.

List<UInt>

A list of server-generated commands (server to client) which are supported by this cluster server instance.

Public properties

acceptedCommandList

val acceptedCommandListList<UInt>

A list of client-generated commands which are supported by this cluster server instance.

attributeList

val attributeListList<UInt>

A list of the attribute IDs of the attributes supported by the cluster instance.

clusterRevision

val clusterRevisionUShort

The revision of the server cluster specification supported by the cluster instance.

colorLoopEndTimestampSeconds

val colorLoopEndTimestampSecondsULong?

Unix timestamp when the color loop effect is expected to end.

Access type: Read

currentBlue

val currentBlueUByte?

The current color of blue in RGB semantics, with a range of 0 to 255.

Access type: Read

currentGreen

val currentGreenUByte?

The current color of green in RGB semantics, with a range of 0 to 255.

Access type: Read

currentHue

val currentHueFloat?

The current hue in HSV semantics, with a range of 0 to 360.

Access type: Read

currentName

val currentNameString?

Name of the current color.

Access type: Read

currentRed

val currentRedUByte?

The current color of red in RGB semantics, with a range of 0 to 255.

Access type: Read

currentSaturation

val currentSaturationFloat?

The current saturation in HSV semantics, with a range of 0 to 1.

Access type: Read

currentValue

val currentValueFloat?

The current value in HSV semantics, with a range of 0 to 1.

Access type: Read

featureMap

val featureMapUInt

Whether the server supports zero or more optional cluster features. A cluster feature is a set of cluster elements that are mandatory or optional for a defined feature of the cluster. If a cluster feature is supported by the cluster instance, then the corresponding bit is set to 1, otherwise the bit is set to 0 (zero).

generatedCommandList

val generatedCommandListList<UInt>

A list of server-generated commands (server to client) which are supported by this cluster server instance.