# CameraAvStreamManagementTrait.Attributes

# CameraAvStreamManagementTrait.Attributes


```
@Generated(value = ["GoogleHomePlatformCodegen"])
interface CameraAvStreamManagementTrait.Attributes : ClusterStruct
```

<br />

Known direct subclasses [CameraAvStreamManagement](https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagement)

|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagement` | API for the CameraAvStreamManagement trait. |

*** ** * ** ***

Attributes for the CameraAvStreamManagement cluster.

## Summary

| ### 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.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/CameraAvStreamManagementTrait.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. |

| ### Public properties |
|---|---|
| `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/CameraAvStreamManagementTrait.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://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.AudioStreamStruct>?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#allocatedAudioStreams()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.SnapshotStreamStruct>?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#allocatedSnapshotStreams()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.VideoStreamStruct>?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#allocatedVideoStreams()` |
| `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/CameraAvStreamManagementTrait.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/CameraAvStreamManagementTrait.Attributes#clusterRevision()` The revision of the server cluster specification 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/CameraAvStreamManagementTrait.Attributes#currentFrameRate()` |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Feature` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.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/CameraAvStreamManagementTrait.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/-boolean/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#hardPrivacyModeOn()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#hdrModeEnabled()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#imageFlipHorizontal()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#imageFlipVertical()` |
| `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.Attributes#imageRotation()` The amount of clockwise rotation in degrees that the image has been subjected to, with 0 and 180 being the only supported values. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#localSnapshotRecordingEnabled()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#localVideoRecordingEnabled()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#maxConcurrentEncoders()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#maxContentBufferSize()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#maxEncodedPixelRate()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#maxNetworkBandwidth()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#microphoneAgcEnabled()` |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.AudioCapabilitiesStruct?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#microphoneCapabilities()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#microphoneMaxLevel()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#microphoneMinLevel()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#microphoneMuted()` Indicates whether the microphone is muted. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#microphoneVolumeLevel()` |
| `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.Attributes#minViewportResolution()` The minimum resolution (width and height) in pixels that the camera allows for its viewport. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.TriStateAutoEnum?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#nightVision()` The currently selected Night Vision mode. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.TriStateAutoEnum?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#nightVisionIllum()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#nightVisionUsesInfrared()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.RateDistortionTradeOffPointsStruct>?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#rateDistortionTradeOffPoints()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.SnapshotCapabilitiesStruct>?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#snapshotCapabilities()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#softLivestreamPrivacyModeEnabled()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#softRecordingPrivacyModeEnabled()` |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.AudioCapabilitiesStruct?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#speakerCapabilities()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#speakerMaxLevel()` The maximum volume level that can be assigned to the speaker. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#speakerMinLevel()` The minimum volume level that can be assigned to the speaker. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#speakerMuted()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#speakerVolumeLevel()` The current volume level of the speaker. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.ThreeLevelAutoEnum?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#statusLightBrightness()` The current brightness of the status light. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#statusLightEnabled()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.StreamUsageEnum>?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#streamUsagePriorities()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.StreamUsageEnum>?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#supportedStreamUsages()` |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.TwoWayTalkSupportTypeEnum?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#twoWayTalkSupport()` |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.VideoSensorParamsStruct?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#videoSensorParams()` The parameters for the video sensor. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.ViewportStruct?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/CameraAvStreamManagementTrait.Attributes#viewport()` The viewport to apply to all streams. |

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

### acceptedCommandList

```
val acceptedCommandList: List<UInt>
```

A list of client-generated commands which are supported by this cluster server instance.

### allocatedAudioStreams

```
val allocatedAudioStreams: List<CameraAvStreamManagementTrait.AudioStreamStruct>?
```

### allocatedSnapshotStreams

```
val allocatedSnapshotStreams: List<CameraAvStreamManagementTrait.SnapshotStreamStruct>?
```

### allocatedVideoStreams

```
val allocatedVideoStreams: List<CameraAvStreamManagementTrait.VideoStreamStruct>?
```

### attributeList

```
val attributeList: List<UInt>
```

A list of the attribute IDs of the attributes supported by the cluster instance.

### clusterRevision

```
val clusterRevision: UShort
```

The revision of the server cluster specification supported by the cluster instance.

### currentFrameRate

```
val currentFrameRate: UShort?
```

### featureMap

```
val featureMap: CameraAvStreamManagementTrait.Feature
```

Whether the server supports zero or more optional cluster features. A cluster feature is a set of cluster elements that are mandatory or optional for a defined feature of the cluster. If a cluster feature is supported by the cluster instance, then the corresponding bit is set to 1, otherwise the bit is set to 0 (zero).

### generatedCommandList

```
val generatedCommandList: List<UInt>
```

A list of server-generated commands (server to client) which are supported by this cluster server instance.

### hardPrivacyModeOn

```
val hardPrivacyModeOn: Boolean?
```

### hdrModeEnabled

```
val hdrModeEnabled: Boolean?
```

### imageFlipHorizontal

```
val imageFlipHorizontal: Boolean?
```

### imageFlipVertical

```
val imageFlipVertical: Boolean?
```

### imageRotation

```
val imageRotation: UShort?
```

The amount of clockwise rotation in degrees that the image has been subjected to, with 0 and 180 being the only supported values.

**Access type:** Write

### localSnapshotRecordingEnabled

```
val localSnapshotRecordingEnabled: Boolean?
```

### localVideoRecordingEnabled

```
val localVideoRecordingEnabled: Boolean?
```

### maxConcurrentEncoders

```
val maxConcurrentEncoders: UByte?
```

### maxContentBufferSize

```
val maxContentBufferSize: UInt?
```

### maxEncodedPixelRate

```
val maxEncodedPixelRate: UInt?
```

### maxNetworkBandwidth

```
val maxNetworkBandwidth: UInt?
```

### microphoneAgcEnabled

```
val microphoneAgcEnabled: Boolean?
```

### microphoneCapabilities

```
val microphoneCapabilities: CameraAvStreamManagementTrait.AudioCapabilitiesStruct?
```

### microphoneMaxLevel

```
val microphoneMaxLevel: UByte?
```

### microphoneMinLevel

```
val microphoneMinLevel: UByte?
```

### microphoneMuted

```
val microphoneMuted: Boolean?
```

Indicates whether the microphone is muted.

**Access type:** Write

### microphoneVolumeLevel

```
val microphoneVolumeLevel: UByte?
```

### minViewportResolution

```
val minViewportResolution: CameraAvStreamManagementTrait.VideoResolutionStruct?
```

The minimum resolution (width and height) in pixels that the camera allows for its viewport.

**Access type:** Read

### nightVision

```
val nightVision: CameraAvStreamManagementTrait.TriStateAutoEnum?
```

The currently selected Night Vision mode.

**Access type:** Write

### nightVisionIllum

```
val nightVisionIllum: CameraAvStreamManagementTrait.TriStateAutoEnum?
```

### nightVisionUsesInfrared

```
val nightVisionUsesInfrared: Boolean?
```

### rateDistortionTradeOffPoints

```
val rateDistortionTradeOffPoints: List<CameraAvStreamManagementTrait.RateDistortionTradeOffPointsStruct>?
```

### snapshotCapabilities

```
val snapshotCapabilities: List<CameraAvStreamManagementTrait.SnapshotCapabilitiesStruct>?
```

### softLivestreamPrivacyModeEnabled

```
val softLivestreamPrivacyModeEnabled: Boolean?
```

### softRecordingPrivacyModeEnabled

```
val softRecordingPrivacyModeEnabled: Boolean?
```

### speakerCapabilities

```
val speakerCapabilities: CameraAvStreamManagementTrait.AudioCapabilitiesStruct?
```

### speakerMaxLevel

```
val speakerMaxLevel: UByte?
```

The maximum volume level that can be assigned to the speaker.

**Access type:** Read

### speakerMinLevel

```
val speakerMinLevel: UByte?
```

The minimum volume level that can be assigned to the speaker.

**Access type:** Read

### speakerMuted

```
val speakerMuted: Boolean?
```

### speakerVolumeLevel

```
val speakerVolumeLevel: UByte?
```

The current volume level of the speaker.

**Access type:** Write

### statusLightBrightness

```
val statusLightBrightness: CameraAvStreamManagementTrait.ThreeLevelAutoEnum?
```

The current brightness of the status light.

**Access type:** Write

### statusLightEnabled

```
val statusLightEnabled: Boolean?
```

### streamUsagePriorities

```
val streamUsagePriorities: List<CameraAvStreamManagementTrait.StreamUsageEnum>?
```

### supportedStreamUsages

```
val supportedStreamUsages: List<CameraAvStreamManagementTrait.StreamUsageEnum>?
```

### twoWayTalkSupport

```
val twoWayTalkSupport: CameraAvStreamManagementTrait.TwoWayTalkSupportTypeEnum?
```

### videoSensorParams

```
val videoSensorParams: CameraAvStreamManagementTrait.VideoSensorParamsStruct?
```

The parameters for the video sensor.

**Access type:** Read

### viewport

```
val viewport: CameraAvStreamManagementTrait.ViewportStruct?
```

The viewport to apply to all streams.

**Access type:** Write