# ContactSensorDevice.StandardTraits

# ContactSensorDevice.StandardTraits


```
class ContactSensorDevice.StandardTraits
```

<br />

*** ** * ** ***

Trait Container for ContactSensorDevice Standard Traits.

## Summary

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ContactSensorDevice.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/BooleanState?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ContactSensorDevice.StandardTraits#booleanState()` This trait provides an interface to a boolean state. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/BooleanStateConfiguration?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ContactSensorDevice.StandardTraits#booleanStateConfiguration()` This trait provides an interface for configuring a boolean sensor, including optional state change alarm features and configuration of the sensor's sensitivity level. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/Identify?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ContactSensorDevice.StandardTraits#identify()` This trait supports an endpoint identification state (such as a flashing light) that indicates to an observer (such as an installer) which of several nodes or endpoints it is. |

## Public constructors

### StandardTraits

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

## Public properties

### booleanState

```
val booleanState: BooleanState?
```

This trait provides an interface to a boolean state.

### booleanStateConfiguration

```
val booleanStateConfiguration: BooleanStateConfiguration?
```

This trait provides an interface for configuring a boolean sensor, including optional state change alarm features and configuration of the sensor's sensitivity level.

### identify

```
val identify: Identify?
```

This trait supports an endpoint identification state (such as a flashing light) that indicates to an observer (such as an installer) which of several nodes or endpoints it is.