# CameraAvStreamManagementTrait.CaptureSnapshotCommand.Request

# CameraAvStreamManagementTrait.CaptureSnapshotCommand.Request


```
class CameraAvStreamManagementTrait.CaptureSnapshotCommand.Request : ClusterStruct
```

<br />

*** ** * ** ***

## 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/CameraAvStreamManagementTrait.CaptureSnapshotCommand.Request.CommandFields : 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 command's request fields. |

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.CaptureSnapshotCommand.Request#Request(kotlin.UShort,com.google.home.matter.standard.CameraAvStreamManagementTrait.VideoResolutionStruct)( snapshotStreamId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?, requestedResolution: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.VideoResolutionStruct )` |

| ### 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/CameraAvStreamManagementTrait.CaptureSnapshotCommand.Request#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/CameraAvStreamManagementTrait.CaptureSnapshotCommand.Request#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/CameraAvStreamManagementTrait.VideoResolutionStruct` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.CaptureSnapshotCommand.Request#requestedResolution()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.CaptureSnapshotCommand.Request#snapshotStreamId()` |

## Public constructors

### Request

```
Request(
    snapshotStreamId: UShort? = null,
    requestedResolution: CameraAvStreamManagementTrait.VideoResolutionStruct = VideoResolutionStruct()
)
```

## 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

### requestedResolution

```
val requestedResolution: CameraAvStreamManagementTrait.VideoResolutionStruct
```

### snapshotStreamId

```
val snapshotStreamId: UShort?
```