CameraAvStreamManagementTrait.Attributes

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

Known direct subclasses
CameraAvStreamManagement

API for the CameraAvStreamManagement trait.


Attributes for the CameraAvStreamManagement cluster.

Summary

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

Returns the value of the field for the given tag ID.

Public properties

List<UInt>

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

List<CameraAvStreamManagementTrait.AudioStreamStruct>?
List<CameraAvStreamManagementTrait.SnapshotStreamStruct>?
List<CameraAvStreamManagementTrait.VideoStreamStruct>?
List<UInt>

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

UShort

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

UShort?
CameraAvStreamManagementTrait.Feature

Whether the server supports zero or more optional cluster features.

List<UInt>

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

Boolean?
Boolean?
Boolean?
Boolean?
UShort?

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

Boolean?
Boolean?
UByte?
UInt?
UInt?
UInt?
Boolean?
CameraAvStreamManagementTrait.AudioCapabilitiesStruct?
UByte?
UByte?
Boolean?

Indicates whether the microphone is muted.

UByte?
CameraAvStreamManagementTrait.VideoResolutionStruct?

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

CameraAvStreamManagementTrait.TriStateAutoEnum?

The currently selected Night Vision mode.

CameraAvStreamManagementTrait.TriStateAutoEnum?
Boolean?
List<CameraAvStreamManagementTrait.RateDistortionTradeOffPointsStruct>?
List<CameraAvStreamManagementTrait.SnapshotCapabilitiesStruct>?
Boolean?
Boolean?
CameraAvStreamManagementTrait.AudioCapabilitiesStruct?
UByte?

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

UByte?

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

Boolean?
UByte?

The current volume level of the speaker.

CameraAvStreamManagementTrait.ThreeLevelAutoEnum?

The current brightness of the status light.

Boolean?
List<CameraAvStreamManagementTrait.StreamUsageEnum>?
List<CameraAvStreamManagementTrait.StreamUsageEnum>?
CameraAvStreamManagementTrait.TwoWayTalkSupportTypeEnum?
CameraAvStreamManagementTrait.VideoSensorParamsStruct?

The parameters for the video sensor.

CameraAvStreamManagementTrait.ViewportStruct?

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.

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?

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

nightVisionUsesInfrared

val nightVisionUsesInfrared: Boolean?

softLivestreamPrivacyModeEnabled

val softLivestreamPrivacyModeEnabled: Boolean?

softRecordingPrivacyModeEnabled

val softRecordingPrivacyModeEnabled: Boolean?

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?

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