# PushAvStreamTransportTrait.TransportMotionTriggerTimeControlStruct

# PushAvStreamTransportTrait.TransportMotionTriggerTimeControlStruct


```
class PushAvStreamTransportTrait.TransportMotionTriggerTimeControlStruct : ClusterStruct
```

<br />

*** ** * ** ***

Defines parameters for controlling the timing of a transport stream triggered by motion.

## 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.TransportMotionTriggerTimeControlStruct.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.TransportMotionTriggerTimeControlStruct#TransportMotionTriggerTimeControlStruct(kotlin.UShort,kotlin.UShort,kotlin.UInt,kotlin.UShort)( initialDuration: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html, augmentationDuration: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/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-short/index.html )` Creates the TransportMotionTriggerTimeControlStruct 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.TransportMotionTriggerTimeControlStruct#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.TransportMotionTriggerTimeControlStruct#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.TransportMotionTriggerTimeControlStruct#augmentationDuration()` How much the stream duration can be extended, in seconds. |
| `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.TransportMotionTriggerTimeControlStruct#blindDuration()` A period during which new motion triggers are ignored after an event, in seconds. |
| `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.TransportMotionTriggerTimeControlStruct#initialDuration()` The initial length of the stream after a motion trigger, in seconds. |
| `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.TransportMotionTriggerTimeControlStruct#maxDuration()` The maximum total duration the stream can run, in seconds. |

## Public constructors

### TransportMotionTriggerTimeControlStruct

```
TransportMotionTriggerTimeControlStruct(
    initialDuration: UShort,
    augmentationDuration: UShort,
    maxDuration: UInt,
    blindDuration: UShort
)
```

Creates the TransportMotionTriggerTimeControlStruct 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: UShort
```

How much the stream duration can be extended, in seconds.

### blindDuration

```
val blindDuration: UShort
```

A period during which new motion triggers are ignored after an event, in seconds.

### initialDuration

```
val initialDuration: UShort
```

The initial length of the stream after a motion trigger, in seconds.

### maxDuration

```
val maxDuration: UInt
```

The maximum total duration the stream can run, in seconds.