# PushAvStreamTransportTrait.SupportedFormatStruct

# PushAvStreamTransportTrait.SupportedFormatStruct


```
class PushAvStreamTransportTrait.SupportedFormatStruct : ClusterStruct
```

<br />

*** ** * ** ***

Defines the supported formats for a push transport.

## 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.SupportedFormatStruct.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.SupportedFormatStruct#SupportedFormatStruct(com.google.home.matter.standard.PushAvStreamTransportTrait.ContainerFormatEnum,com.google.home.matter.standard.PushAvStreamTransportTrait.IngestMethodsEnum)( containerFormat: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.ContainerFormatEnum, ingestMethod: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.IngestMethodsEnum )` Creates the SupportedFormatStruct 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.SupportedFormatStruct#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.SupportedFormatStruct#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/PushAvStreamTransportTrait.ContainerFormatEnum` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.SupportedFormatStruct#containerFormat()` The container format. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.IngestMethodsEnum` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.SupportedFormatStruct#ingestMethod()` The ingest method. |

## Public constructors

### SupportedFormatStruct

```
SupportedFormatStruct(
    containerFormat: PushAvStreamTransportTrait.ContainerFormatEnum = ContainerFormatEnum.CMAF,
    ingestMethod: PushAvStreamTransportTrait.IngestMethodsEnum = IngestMethodsEnum.CMAFIngest
)
```

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

### containerFormat

```
val containerFormat: PushAvStreamTransportTrait.ContainerFormatEnum
```

The container format.

### ingestMethod

```
val ingestMethod: PushAvStreamTransportTrait.IngestMethodsEnum
```

The ingest method.