ClosureDimensionTrait.Attributes

@Generated(value = ["GoogleHomePlatformCodegen"])
interface ClosureDimensionTrait.Attributes : ClusterStruct

Known direct subclasses
ClosureDimension

API for the ClosureDimension trait.


Attributes for the ClosureDimension cluster.

Summary

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

Returns the value of the field for the given tag ID.

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.

ClosureDimensionTrait.DimensionStateStruct?

The current state of the closure dimension, including its Latch, Position, and Speed, as defined in the DimensionStateStruct.

ClosureDimensionTrait.Feature

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.

ClosureDimensionTrait.LatchControlModesBitmap?

Whether the latch mechanism can be latched or unlatched remotely, as defined in the LatchControlModesBitmap.

ClosureDimensionTrait.RangePercent100thsStruct?

The range of possible values for the Position field in the CurrentState attribute.

ClosureDimensionTrait.ModulationTypeEnum?

The modulation type of the closure dimension, as defined in the ModulationTypeEnum.

ClosureDimensionTrait.OverflowEnum?

The overflow direction of the closure, as defined in the OverflowEnum.

UShort?

The minimal acceptable change to the Position field of the targetState and currentState attributes.

ClosureDimensionTrait.RotationAxisEnum?

The axis of rotation for the closure dimension, as defined in the RotationAxisEnum.

UShort?

The size of a single step, in hundredths of a percent.

ClosureDimensionTrait.DimensionStateStruct?

The target state of the closure dimension, including its Latch, Position, and Speed, as defined in the DimensionStateStruct.

ClosureDimensionTrait.TranslationDirectionEnum?

The direction of translation for the closure dimension, as defined in the TranslationDirectionEnum.

ClosureDimensionTrait.ClosureUnitEnum?

The unit related to the position of the closure, where the unit is defined in ClosureUnitEnum.

ClosureDimensionTrait.UnitRangeStruct?

The physical range of the closure's movement, expressed as minimum and maximum values of the unit of measurement.

Public functions

getDescriptor

@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

@HomeExperimentalGenericApi
open fun getFieldValueById(tagId: UInt): Any?

Returns the value of the field for the given tag ID.

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.

currentState

val currentStateClosureDimensionTrait.DimensionStateStruct?

The current state of the closure dimension, including its Latch, Position, and Speed, as defined in the DimensionStateStruct.

Access type: Read

featureMap

val featureMapClosureDimensionTrait.Feature

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.

latchControlModes

val latchControlModesClosureDimensionTrait.LatchControlModesBitmap?

Whether the latch mechanism can be latched or unlatched remotely, as defined in the LatchControlModesBitmap.

Access type: Read

limitRange

val limitRangeClosureDimensionTrait.RangePercent100thsStruct?

The range of possible values for the Position field in the CurrentState attribute.

Access type: Read

modulationType

val modulationTypeClosureDimensionTrait.ModulationTypeEnum?

The modulation type of the closure dimension, as defined in the ModulationTypeEnum.

Access type: Read

overflow

val overflowClosureDimensionTrait.OverflowEnum?

The overflow direction of the closure, as defined in the OverflowEnum.

Access type: Read

resolution

val resolutionUShort?

The minimal acceptable change to the Position field of the targetState and currentState attributes. Resolution gives a collection of valid current position points over a linear ruler. A resolution of 100% means that the associated dimension cannot be placed in an intermediate position because its position is binary.

Access type: Read

rotationAxis

val rotationAxisClosureDimensionTrait.RotationAxisEnum?

The axis of rotation for the closure dimension, as defined in the RotationAxisEnum.

Access type: Read

stepValue

val stepValueUShort?

The size of a single step, in hundredths of a percent. The value of this attribute is an integer multiple of the resolution attribute.

Access type: Read

targetState

val targetStateClosureDimensionTrait.DimensionStateStruct?

The target state of the closure dimension, including its Latch, Position, and Speed, as defined in the DimensionStateStruct.

Access type: Read

translationDirection

val translationDirectionClosureDimensionTrait.TranslationDirectionEnum?

The direction of translation for the closure dimension, as defined in the TranslationDirectionEnum.

Access type: Read

unit

val unitClosureDimensionTrait.ClosureUnitEnum?

The unit related to the position of the closure, where the unit is defined in ClosureUnitEnum.

Access type: Read

unitRange

val unitRangeClosureDimensionTrait.UnitRangeStruct?

The physical range of the closure's movement, expressed as minimum and maximum values of the unit of measurement. The unit of measurement is specified by the unit attribute. The unit range is determined by the values stored in the min and max fields of the UnitRangeStruct.

Access type: Read