# BooleanStateConfigurationTrait.AlarmsStateChanged

# BooleanStateConfigurationTrait.AlarmsStateChanged


```
interface BooleanStateConfigurationTrait.AlarmsStateChanged : ClusterStruct
```

<br />

Known direct subclasses [BooleanStateConfiguration.AlarmsStateChangedEvent](https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/BooleanStateConfiguration.AlarmsStateChangedEvent)

|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/BooleanStateConfiguration.AlarmsStateChangedEvent` |   |

*** ** * ** ***

Generated after any bits in the `alarmsActive` or `alarmsSuppressed` attributes change.

## Summary

| ### Public functions |
|---|---|
| `open https://developers.home.google.com/reference/kotlin/com/google/home/StructDescriptor` | `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/BooleanStateConfigurationTrait.AlarmsStateChanged#getDescriptor()()` Returns the descriptor for the struct. |
| `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html?` | `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/BooleanStateConfigurationTrait.AlarmsStateChanged#getFieldValueById(kotlin.UInt)(tagId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html)` Returns the value of the field for the given tag ID. |

| ### Public properties |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/BooleanStateConfigurationTrait.AlarmModeBitmap?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/BooleanStateConfigurationTrait.AlarmsStateChanged#alarmsActive()` The state of active alarm modes at the time the event was generated. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/BooleanStateConfigurationTrait.AlarmModeBitmap?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/BooleanStateConfigurationTrait.AlarmsStateChanged#alarmsSuppressed()` The state of suppressed alarm modes at the time the event was generated. |

## Public functions

### getDescriptor

```
@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor
```

Returns the descriptor for the struct.

### getFieldValueById

```
@HomeExperimentalGenericApi
open fun getFieldValueById(tagId: UInt): Any?
```

Returns the value of the field for the given tag ID.

## Public properties

### alarmsActive

```
val alarmsActive: BooleanStateConfigurationTrait.AlarmModeBitmap?
```

The state of active alarm modes at the time the event was generated.

### alarmsSuppressed

```
val alarmsSuppressed: BooleanStateConfigurationTrait.AlarmModeBitmap?
```

The state of suppressed alarm modes at the time the event was generated.