# ClosureControlTrait.Feature

# ClosureControlTrait.Feature


```
data class ClosureControlTrait.Feature
```

<br />

*** ** * ** ***

ClosureControl trait FeatureMap.

## Summary

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.Feature#Feature(kotlin.Boolean,kotlin.Boolean,kotlin.Boolean,kotlin.Boolean,kotlin.Boolean,kotlin.Boolean,kotlin.Boolean,kotlin.Boolean,kotlin.Boolean)( positioning: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, motionLatching: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, instantaneous: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, speed: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, ventilation: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, pedestrian: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, calibration: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, protection: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, manuallyOperable: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html )` Creates the Feature data class. |

| ### Public functions |
|---|---|
| `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-long/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.Feature#toRaw()()` Convert this ClusterBitmap to raw (bytes) format |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.Feature#calibration()` The closure can trigger a calibration procedure. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.Feature#instantaneous()` The closure is capable of changing its position or state instantaneously. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.Feature#manuallyOperable()` The closure can be operated manually by a user, such as to open or close a window. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.Feature#motionLatching()` The closure can be latched and unlatched. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.Feature#pedestrian()` The closure can be set to a dedicated pedestrian position that provides a clear walkway through the closure. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.Feature#positioning()` The closure can be set to discrete positions, including at minimum the `FullyOpen` and `FullyClosed` positions. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.Feature#protection()` The closure is capable of activating a form of protection, such as protection against wind. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.Feature#speed()` The closure supports configurable speed during motion toward a target position. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.Feature#ventilation()` The closure can be set to a designated ventilation position, for example partially open. |

## Public constructors

### Feature

```
Feature(
    positioning: Boolean = false,
    motionLatching: Boolean = false,
    instantaneous: Boolean = false,
    speed: Boolean = false,
    ventilation: Boolean = false,
    pedestrian: Boolean = false,
    calibration: Boolean = false,
    protection: Boolean = false,
    manuallyOperable: Boolean = false
)
```

Creates the Feature data class.

## Public functions

### toRaw

```
open fun toRaw(): ULong
```

Convert this ClusterBitmap to raw (bytes) format

## Public properties

### calibration

```
val calibration: Boolean
```

The closure can trigger a calibration procedure.

### instantaneous

```
val instantaneous: Boolean
```

The closure is capable of changing its position or state instantaneously.

### manuallyOperable

```
val manuallyOperable: Boolean
```

The closure can be operated manually by a user, such as to open or close a window.

### motionLatching

```
val motionLatching: Boolean
```

The closure can be latched and unlatched. When the closure is latched, this feature secures an axis, preventing associated actuators from moving components along that axis.

### pedestrian

```
val pedestrian: Boolean
```

The closure can be set to a dedicated pedestrian position that provides a clear walkway through the closure.

### positioning

```
val positioning: Boolean
```

The closure can be set to discrete positions, including at minimum the `FullyOpen` and `FullyClosed` positions.

### protection

```
val protection: Boolean
```

The closure is capable of activating a form of protection, such as protection against wind. A protection is manufacturer-specific.

### speed

```
val speed: Boolean
```

The closure supports configurable speed during motion toward a target position. This feature uses the values in `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.ThreeLevelAutoEnum` to set the supported speed levels.

### ventilation

```
val ventilation: Boolean
```

The closure can be set to a designated ventilation position, for example partially open.