# FanControlTrait.RockBitmap

# FanControlTrait.RockBitmap


```
data class FanControlTrait.RockBitmap
```

<br />

*** ** * ** ***

The current active fan rocking motion setting.

## Summary

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/FanControlTrait.RockBitmap#RockBitmap(kotlin.Boolean,kotlin.Boolean,kotlin.Boolean)(rockLeftRight: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, rockUpDown: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html, rockRound: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` Creates the RockBitmap 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/FanControlTrait.RockBitmap#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/FanControlTrait.RockBitmap#rockLeftRight()` The fan is using a rock left to right setting. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/FanControlTrait.RockBitmap#rockRound()` The fan is using a rock around setting. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/FanControlTrait.RockBitmap#rockUpDown()` The fan is using a rock up and down setting. |

## Public constructors

### RockBitmap

```
RockBitmap(
    rockLeftRight: Boolean = false,
    rockUpDown: Boolean = false,
    rockRound: Boolean = false
)
```

Creates the RockBitmap data class.

## Public functions

### toRaw

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

Convert this ClusterBitmap to raw (bytes) format

## Public properties

### rockLeftRight

```
val rockLeftRight: Boolean
```

The fan is using a rock left to right setting.

### rockRound

```
val rockRound: Boolean
```

The fan is using a rock around setting.

### rockUpDown

```
val rockUpDown: Boolean
```

The fan is using a rock up and down setting.