# SpeakerDevice.StandardTraits

# SpeakerDevice.StandardTraits


```
class SpeakerDevice.StandardTraits
```

<br />

*** ** * ** ***

Trait Container for SpeakerDevice Standard Traits.

## Summary

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/SpeakerDevice.StandardTraits#StandardTraits(com.google.home.TraitProvider)(traitProvider: https://developers.home.google.com/reference/kotlin/com/google/home/TraitProvider)` |

| ### Public properties |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/LevelControl?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/SpeakerDevice.StandardTraits#levelControl()` This trait provides an interface for controlling a characteristic of a device that can be set to a level. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OnOff?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/SpeakerDevice.StandardTraits#onOff()` This trait provides an interface for turning devices on and off. |

## Public constructors

### StandardTraits

```
StandardTraits(traitProvider: TraitProvider)
```

## Public properties

### levelControl

```
val levelControl: LevelControl?
```

This trait provides an interface for controlling a characteristic of a device that can be set to a level.

### onOff

```
val onOff: OnOff?
```

This trait provides an interface for turning devices on and off.