# ActionsTrait.CommandBits

# ActionsTrait.CommandBits


```
data class ActionsTrait.CommandBits
```

<br />

*** ** * ** ***

Bitmap indicating which commands are supported.

## Summary

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.CommandBits#CommandBits(kotlin.Boolean,kotlin.Boolean,kotlin.Boolean,kotlin.Boolean,kotlin.Boolean,kotlin.Boolean,kotlin.Boolean,kotlin.Boolean,kotlin.Boolean,kotlin.Boolean,kotlin.Boolean,kotlin.Boolean)( instantAction: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, instantActionWithTransition: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, startAction: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, startActionWithDuration: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, stopAction: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, pauseAction: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, pauseActionWithDuration: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, resumeAction: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, enableAction: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, enableActionWithDuration: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, disableAction: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, disableActionWithDuration: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html )` Creates the CommandBits 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/ActionsTrait.CommandBits#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/ActionsTrait.CommandBits#disableAction()` Supports the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.DisableActionCommand`. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.CommandBits#disableActionWithDuration()` Supports the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.DisableActionWithDurationCommand`. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.CommandBits#enableAction()` Supports the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.EnableActionCommand`. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.CommandBits#enableActionWithDuration()` Supports the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.EnableActionWithDurationCommand`. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.CommandBits#instantAction()` Supports the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.InstantActionCommand`. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.CommandBits#instantActionWithTransition()` Supports the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.InstantActionWithTransitionCommand`. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.CommandBits#pauseAction()` Supports the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.PauseActionCommand`. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.CommandBits#pauseActionWithDuration()` Supports the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.PauseActionWithDurationCommand`. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.CommandBits#resumeAction()` Supports the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.ResumeActionCommand`. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.CommandBits#startAction()` Supports the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.StartActionCommand`. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.CommandBits#startActionWithDuration()` Supports the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.StartActionWithDurationCommand`. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.CommandBits#stopAction()` Supports the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.StopActionCommand`. |

## Public constructors

### CommandBits

```
CommandBits(
    instantAction: Boolean = false,
    instantActionWithTransition: Boolean = false,
    startAction: Boolean = false,
    startActionWithDuration: Boolean = false,
    stopAction: Boolean = false,
    pauseAction: Boolean = false,
    pauseActionWithDuration: Boolean = false,
    resumeAction: Boolean = false,
    enableAction: Boolean = false,
    enableActionWithDuration: Boolean = false,
    disableAction: Boolean = false,
    disableActionWithDuration: Boolean = false
)
```

Creates the CommandBits data class.

## Public functions

### toRaw

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

Convert this ClusterBitmap to raw (bytes) format

## Public properties

### disableAction

```
val disableAction: Boolean
```

Supports the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.DisableActionCommand`.

### disableActionWithDuration

```
val disableActionWithDuration: Boolean
```

Supports the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.DisableActionWithDurationCommand`.

### enableAction

```
val enableAction: Boolean
```

Supports the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.EnableActionCommand`.

### enableActionWithDuration

```
val enableActionWithDuration: Boolean
```

Supports the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.EnableActionWithDurationCommand`.

### instantAction

```
val instantAction: Boolean
```

Supports the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.InstantActionCommand`.

### instantActionWithTransition

```
val instantActionWithTransition: Boolean
```

Supports the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.InstantActionWithTransitionCommand`.

### pauseAction

```
val pauseAction: Boolean
```

Supports the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.PauseActionCommand`.

### pauseActionWithDuration

```
val pauseActionWithDuration: Boolean
```

Supports the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.PauseActionWithDurationCommand`.

### resumeAction

```
val resumeAction: Boolean
```

Supports the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.ResumeActionCommand`.

### startAction

```
val startAction: Boolean
```

Supports the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.StartActionCommand`.

### startActionWithDuration

```
val startActionWithDuration: Boolean
```

Supports the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.StartActionWithDurationCommand`.

### stopAction

```
val stopAction: Boolean
```

Supports the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ActionsTrait.StopActionCommand`.