# PushAvStreamTransport

# PushAvStreamTransport


```
@Generated(value = ["GoogleHomePlatformCodegen"])
interface PushAvStreamTransport : PushAvStreamTransportTrait.Attributes, MatterTrait, PushAvStreamTransportCommands
```

<br />

*** ** * ** ***

API for the PushAvStreamTransport trait. This trait is a minimalistic version of the PushAvStreamTransport standard Matter cluster, and only provides an On/Off-like functionality for cameras.

> [!WARNING]
> This trait is restricted and not available for general use.

## Summary

| ### Nested types |
|---|
| `enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransport.Attribute : 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 trait's attributes. |
| `enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransport.Command : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html` Descriptor enum for this trait's commands. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransport.PushTransportBeginEvent : https://developers.home.google.com/reference/kotlin/com/google/home/Event, https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.PushTransportBegin` |
| `enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransport.PushTransportBeginEvent.EventFields : 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 event's fields. |
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransport.PushTransportEndEvent : https://developers.home.google.com/reference/kotlin/com/google/home/Event, https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.PushTransportEnd` |
| `enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransport.PushTransportEndEvent.EventFields : 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 event's fields. |

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransport#supports(com.google.home.matter.standard.PushAvStreamTransport.Attribute)(attribute: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransport.Attribute)` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransport#supports(com.google.home.matter.standard.PushAvStreamTransport.Command)(command: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransport.Command)` |

| ### Public properties |
|---|---|
| `open https://developers.home.google.com/reference/kotlin/com/google/home/TraitFactory<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransport>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransport#factory()` |

| ### Inherited functions |
|---|
| From [com.google.home.matter.standard.PushAvStreamTransportCommands](https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportCommands) |---|---| | `suspend https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.AllocatePushTransportCommand.Response` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportCommands#allocatePushTransport(com.google.home.matter.standard.PushAvStreamTransportTrait.TransportOptionsStruct)( transportOptions: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.TransportOptionsStruct )` Allocate a push transport. | | `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.AllocatePushTransportCommand.Response>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportCommands#allocatePushTransportBatchable(com.google.home.matter.standard.PushAvStreamTransportTrait.TransportOptionsStruct)( transportOptions: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.TransportOptionsStruct )` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportCommands#allocatePushTransport(com.google.home.matter.standard.PushAvStreamTransportTrait.TransportOptionsStruct)` command. | | `suspend https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportCommands#deallocatePushTransport(kotlin.UShort)(connectionId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html)` Deallocate a push transport. | | `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportCommands#deallocatePushTransportBatchable(kotlin.UShort)(connectionId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html)` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportCommands#deallocatePushTransport(kotlin.UShort)` command. | | `suspend https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.FindTransportCommand.Response` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportCommands#findTransport(kotlin.UShort)(connectionId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?)` Get the transport configuration for the specified push transport or all allocated transports if no `connectionId` is specified. | | `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.FindTransportCommand.Response>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportCommands#findTransportBatchable(kotlin.UShort)(connectionId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?)` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportCommands#findTransport(kotlin.UShort)` command. | | `suspend https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportCommands#manuallyTriggerTransport(kotlin.UShort,com.google.home.matter.standard.PushAvStreamTransportTrait.TriggerActivationReasonEnum,kotlin.Function1)( connectionId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html, activationReason: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.TriggerActivationReasonEnum, optionalArgs: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.ManuallyTriggerTransportCommand.OptionalArgs.() -> https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html )` Manually trigger a transport. | | `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportCommands#manuallyTriggerTransportBatchable(kotlin.UShort,com.google.home.matter.standard.PushAvStreamTransportTrait.TriggerActivationReasonEnum,kotlin.Function1)( connectionId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html, activationReason: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.TriggerActivationReasonEnum, optionalArgs: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.ManuallyTriggerTransportCommand.OptionalArgs.() -> https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html )` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportCommands#manuallyTriggerTransport(kotlin.UShort,com.google.home.matter.standard.PushAvStreamTransportTrait.TriggerActivationReasonEnum,kotlin.Function1)` command. | | `suspend https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportCommands#modifyPushTransport(kotlin.UShort,com.google.home.matter.standard.PushAvStreamTransportTrait.TransportOptionsStruct)( connectionId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html, transportOptions: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.TransportOptionsStruct )` Modify the transport status. | | `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportCommands#modifyPushTransportBatchable(kotlin.UShort,com.google.home.matter.standard.PushAvStreamTransportTrait.TransportOptionsStruct)( connectionId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html, transportOptions: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.TransportOptionsStruct )` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportCommands#modifyPushTransport(kotlin.UShort,com.google.home.matter.standard.PushAvStreamTransportTrait.TransportOptionsStruct)` command. | | `suspend https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportCommands#setTransportStatus(kotlin.UShort,com.google.home.matter.standard.PushAvStreamTransportTrait.TransportStatusEnum)( 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 )` Set the transport status. | | `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportCommands#setTransportStatusBatchable(kotlin.UShort,com.google.home.matter.standard.PushAvStreamTransportTrait.TransportStatusEnum)( 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 )` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportCommands#setTransportStatus(kotlin.UShort,com.google.home.matter.standard.PushAvStreamTransportTrait.TransportStatusEnum)` command. | |
| From [com.google.home.matter.standard.PushAvStreamTransportTrait.Attributes](https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.Attributes) |---|---| | `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.Attributes#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.Attributes#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. | |
| From [com.google.home.TraitStateInvalidation](https://developers.home.google.com/reference/kotlin/com/google/home/TraitStateInvalidation) |---|---| | `suspend https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/TraitStateInvalidation#forceRead()()` | |

| ### Inherited properties |
|---|
| From [com.google.home.matter.standard.PushAvStreamTransportTrait.Attributes](https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.Attributes) |---|---| | `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.Attributes#acceptedCommandList()` A list of client-generated commands which are supported by this cluster server instance. | | `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.Attributes#attributeList()` A list of the attribute IDs of the attributes supported by the cluster instance. | | `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.Attributes#clusterRevision()` The revision of the server cluster specification supported by the cluster instance. | | `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.TransportConfigurationStruct>?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.Attributes#currentConnections()` A list of all the allocated connections. | | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.Feature` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.Attributes#featureMap()` Whether the server supports zero or more optional cluster features. | | `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.Attributes#generatedCommandList()` A list of server-generated commands (server to client) which are supported by this cluster server instance. | | `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.SupportedFormatStruct>?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/PushAvStreamTransportTrait.Attributes#supportedFormats()` A list of all the supported formats for the push transport. | |
| From [com.google.home.Trait](https://developers.home.google.com/reference/kotlin/com/google/home/Trait) |---|---| | `https://developers.home.google.com/reference/kotlin/com/google/home/Trait.TraitMetadata` | `https://developers.home.google.com/reference/kotlin/com/google/home/Trait#metadata()` | |

## Public functions

### supports

```
fun supports(attribute: PushAvStreamTransport.Attribute): Boolean
```

### supports

```
fun supports(command: PushAvStreamTransport.Command): Boolean
```

## Public properties

### factory

```
open val factory: TraitFactory<PushAvStreamTransport>
```