# PushAvStreamTransportTrait.TransportZoneOptionsStruct

# PushAvStreamTransportTrait.TransportZoneOptionsStruct


```
class PushAvStreamTransportTrait.TransportZoneOptionsStruct : ClusterStruct
```

<br />

*** ** * ** ***

Defines options related to a specific zone for transport 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/PushAvStreamTransportTrait.TransportZoneOptionsStruct.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/PushAvStreamTransportTrait.TransportZoneOptionsStruct#TransportZoneOptionsStruct(kotlin.UShort,com.google.home.matter.serialization.OptionalValue)( zone: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/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 TransportZoneOptionsStruct 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/PushAvStreamTransportTrait.TransportZoneOptionsStruct#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/PushAvStreamTransportTrait.TransportZoneOptionsStruct#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/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/PushAvStreamTransportTrait.TransportZoneOptionsStruct#sensitivity()` An optional 8-bit unsigned integer that indicates the sensitivity level for this zone. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.TransportZoneOptionsStruct#zone()` A nullable 16-bit unsigned integer that represents the zone ID. |

## Public constructors

### TransportZoneOptionsStruct

```
TransportZoneOptionsStruct(
    zone: UShort? = null,
    sensitivity: OptionalValue<UByte> = OptionalValue.absent()
)
```

Creates the TransportZoneOptionsStruct 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

### sensitivity

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

An optional 8-bit unsigned integer that indicates the sensitivity level for this zone.

### zone

```
val zone: UShort?
```

A nullable 16-bit unsigned integer that represents the zone ID.