# ZoneManagementTrait.ZoneTriggerControlStruct


```
class ZoneManagementTrait.ZoneTriggerControlStruct : ClusterStruct
```

<br />

*** ** * ** ***

Settings for controlling zone triggers.

## Summary

| ### Nested types |
|---|
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ZoneManagementTrait.ZoneTriggerControlStruct.StructFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this struct's fields. |

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ZoneManagementTrait.ZoneTriggerControlStruct#ZoneTriggerControlStruct(kotlin.UShort,kotlin.UInt,kotlin.UInt,kotlin.UInt,kotlin.UInt,com.google.home.matter.serialization.OptionalValue)( zoneId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html, initialDuration: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html, augmentationDuration: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html, maxDuration: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html, blindDuration: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html, sensitivity: https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html> )` Creates the ZoneTriggerControlStruct class. |

| ### 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/ZoneManagementTrait.ZoneTriggerControlStruct#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/ZoneManagementTrait.ZoneTriggerControlStruct#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://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ZoneManagementTrait.ZoneTriggerControlStruct#augmentationDuration()` Indicates the duration in seconds that the `TriggerDetectedDuration` value is to be extended by if the triggering activity is still detected during this period. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ZoneManagementTrait.ZoneTriggerControlStruct#blindDuration()` Indicates the duration in seconds after a `ZoneStopped` event is generated that the Node shall not generate any `ZoneTriggered` events. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ZoneManagementTrait.ZoneTriggerControlStruct#initialDuration()` Indicates the initial duration in seconds after triggering activity is first detected before the Node could generate a `ZoneStopped` event. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ZoneManagementTrait.ZoneTriggerControlStruct#maxDuration()` Indicates the maximum duration in seconds after the initial triggering activity detection that additional triggering activity will be detected. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ZoneManagementTrait.ZoneTriggerControlStruct#sensitivity()` Indicates the per-zone sensitivity of the underlying zone triggering detection mechanism. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ZoneManagementTrait.ZoneTriggerControlStruct#zoneId()` Unique ZoneID of the zone. |

## Public constructors

### ZoneTriggerControlStruct

```
ZoneTriggerControlStruct(
    zoneId: UShort,
    initialDuration: UInt,
    augmentationDuration: UInt,
    maxDuration: UInt,
    blindDuration: UInt,
    sensitivity: OptionalValue<UByte> = OptionalValue.absent()
)
```

Creates the ZoneTriggerControlStruct class.

## 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

### augmentationDuration

```
val augmentationDuration: UInt
```

Indicates the duration in seconds that the `TriggerDetectedDuration` value is to be extended by if the triggering activity is still detected during this period.

### blindDuration

```
val blindDuration: UInt
```

Indicates the duration in seconds after a `ZoneStopped` event is generated that the Node shall not generate any `ZoneTriggered` events.

### initialDuration

```
val initialDuration: UInt
```

Indicates the initial duration in seconds after triggering activity is first detected before the Node could generate a `ZoneStopped` event.

### maxDuration

```
val maxDuration: UInt
```

Indicates the maximum duration in seconds after the initial triggering activity detection that additional triggering activity will be detected.

### sensitivity

```
val sensitivity: OptionalValue<UByte>
```

Indicates the per-zone sensitivity of the underlying zone triggering detection mechanism. The higher the value, the more sensitive the detection.

### zoneId

```
val zoneId: UShort
```

Unique ZoneID of the zone.