# ClosureControlTrait


```
@Generated(value = ["GoogleHomePlatformCodegen"])
object ClosureControlTrait
```

<br />

*** ** * ** ***

Attributes for ClosureControlTrait.

## Summary

| ### Nested types |
|---|
| `@https://developers.home.google.com/reference/kotlin/javax/annotation/processing/Generated(value = ["GoogleHomePlatformCodegen"]) interface https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.Attributes : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` Attributes for the ClosureControl cluster. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.CalibrateCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Initiates a calibration of the closure. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.CalibrateCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the Calibrate command. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.CalibrateCommand.Request.CommandFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this command's request fields. |
| `enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.ClosureErrorEnum : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/ClusterEnum` Error states that can be reported by the closure. |
| `enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.CurrentPositionEnum : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/ClusterEnum` The current position of the closure. |
| `interface https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.EngageStateChanged : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` Generated when the `MainStateEnum` attribute changes state to and from `Disengaged`, indicating if the actuator is engaged or disengaged. |
| `data class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.Feature` ClosureControl trait FeatureMap. |
| `data class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.LatchControlModesBitmap` ClosureControl trait `LatchControlModesBitmap`. |
| `enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.MainStateEnum : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/ClusterEnum` The current operational state of the closure. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.MoveToCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` The closure updates its position, latch state and motion speed. |
| `interface https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.MoveToCommand.OptionalArgs` Optional arguments for the command MoveToCommand Request |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.MoveToCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the MoveTo command. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.MoveToCommand.Request.CommandFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this command's request fields. |
| `interface https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.MovementCompleted : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` Indicates that an overall operation has ended, either successfully or otherwise. |
| `interface https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.OperationalError : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` A reportable error condition has been detected. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.OverallCurrentStateStruct : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The current state of the closure. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.OverallCurrentStateStruct.StructFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this struct's fields. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.OverallTargetStateStruct : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The target state of the closure. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.OverallTargetStateStruct.StructFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this struct's fields. |
| `interface https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.SecureStateChanged : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` Generated when the `SecureState` field in the `OverallCurrentState` attribute changes, and is used to indicate whether a closure is securing a space against possible unauthorized entry. |
| `object https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.StopCommand : https://developers.home.google.com/reference/kotlin/com/google/home/CommandDescriptor` Stops the closure. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.StopCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the Stop command. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.StopCommand.Request.CommandFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this command's request fields. |
| `enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.TargetPositionEnum : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/ClusterEnum` The target position of the closure. |
| `enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.ThreeLevelAutoEnum : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/ClusterEnum` Used to set the speed of the closure. |

| ### Public properties |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/ClusterId` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait#Id()` |

## Public properties

### Id

```
val Id: ClusterId
```