# LevelControlTrait.Feature

# LevelControlTrait.Feature


```
data class LevelControlTrait.Feature
```

<br />

*** ** * ** ***

LevelControl cluster FeatureMap. Some behaviors of these features are described in the cluster attributes and commands. For complete details of these features, see the [Matter Specification](https://csa-iot.org/developer-resource/specifications-download-request/).

## Summary

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.Feature#Feature(kotlin.Boolean,kotlin.Boolean,kotlin.Boolean)(onOff: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, lighting: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, frequency: 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/LevelControlTrait.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/LevelControlTrait.Feature#frequency()` Supports frequency attributes and behavior. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.Feature#lighting()` Has behavior that supports lighting apps. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControlTrait.Feature#onOff()` Dependency with the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OnOff` cluster. |

## Public constructors

### Feature

```
Feature(
    onOff: Boolean = false,
    lighting: Boolean = false,
    frequency: Boolean = false
)
```

Creates the Feature data class.

## Public functions

### toRaw

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

Convert this ClusterBitmap to raw (bytes) format

## Public properties

### frequency

```
val frequency: Boolean
```

Supports frequency attributes and behavior.

### lighting

```
val lighting: Boolean
```

Has behavior that supports lighting apps.

### onOff

```
val onOff: Boolean
```

Dependency with the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OnOff` cluster.