RotationTrait.Attributes

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

Known direct subclasses
Rotation

API for the Rotation trait.


Attributes for the Rotation 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.

RotationTrait.RotationFeature

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.

Float?

The number of degreees that the device is currently rotated in the clockwise direction.

RotationTrait.RotationDegreesRange?

The number of degrees that a device is permitted to rotate.

Float?

The percentage that the device is currently rotated in the clockwise direction.

Float?

The intended percentage of the device's clockwise rotation as the result of an ongoing change in rotation.

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.

featureMap

val featureMapRotationTrait.RotationFeature

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.

rotationDegrees

val rotationDegreesFloat?

The number of degreees that the device is currently rotated in the clockwise direction.

Access type: Read

rotationDegreesRange

val rotationDegreesRangeRotationTrait.RotationDegreesRange?

The number of degrees that a device is permitted to rotate.

Access type: Read

rotationPercent

val rotationPercentFloat?

The percentage that the device is currently rotated in the clockwise direction. A value of 0.0 means that the device is not rotated at all, and a value of 100.0 means that the device is fully rotated.

Access type: Read

targetRotationPercent

val targetRotationPercentFloat?

The intended percentage of the device's clockwise rotation as the result of an ongoing change in rotation.

Access type: Read