# PushAvStreamTransportTrait.TransportConfigurationStruct

# PushAvStreamTransportTrait.TransportConfigurationStruct


```
class PushAvStreamTransportTrait.TransportConfigurationStruct : ClusterStruct
```

<br />

*** ** * ** ***

The transport configuration.

## 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.TransportConfigurationStruct.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.TransportConfigurationStruct#TransportConfigurationStruct(kotlin.UShort,com.google.home.matter.standard.PushAvStreamTransportTrait.TransportStatusEnum,com.google.home.matter.serialization.OptionalValue,kotlin.UByte)( connectionId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html, transportStatus: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.TransportStatusEnum, transportOptions: https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.TransportOptionsStruct>, fabricIndex: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html )` Creates the TransportConfigurationStruct 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.TransportConfigurationStruct#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.TransportConfigurationStruct#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-short/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.TransportConfigurationStruct#connectionId()` The connection ID of the transport. |
| `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.TransportConfigurationStruct#fabricIndex()` The fabric index ID of the transport. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.TransportOptionsStruct>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.TransportConfigurationStruct#transportOptions()` Detailed configuration options for the transport, such as stream usage, URLs, and trigger settings. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.TransportStatusEnum` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.TransportConfigurationStruct#transportStatus()` The transport status. |

## Public constructors

### TransportConfigurationStruct

```
TransportConfigurationStruct(
    connectionId: UShort,
    transportStatus: PushAvStreamTransportTrait.TransportStatusEnum = TransportStatusEnum.Active,
    transportOptions: OptionalValue<PushAvStreamTransportTrait.TransportOptionsStruct> = OptionalValue.absent(),
    fabricIndex: UByte
)
```

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

### connectionId

```
val connectionId: UShort
```

The connection ID of the transport.

### fabricIndex

```
val fabricIndex: UByte
```

The fabric index ID of the transport.

### transportOptions

```
val transportOptions: OptionalValue<PushAvStreamTransportTrait.TransportOptionsStruct>
```

Detailed configuration options for the transport, such as stream usage, URLs, and trigger settings.

### transportStatus

```
val transportStatus: PushAvStreamTransportTrait.TransportStatusEnum
```

The transport status.