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

UInt

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.

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?

Indicates whether the microphone is muted.

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.

Boolean?

Indicates whether the microphone is muted during recording of a clip.

UByte?

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

UByte?

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

UByte?

The current volume level of the speaker.

CameraAvStreamManagementTrait.ThreeLevelAutoEnum?

The current brightness of the status light.

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 acceptedCommandListList<UInt>

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

attributeList

val attributeListList<UInt>

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

clusterRevision

val clusterRevisionUShort

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

featureMap

val featureMapUInt

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 generatedCommandListList<UInt>

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

imageRotation

val imageRotationUShort?

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

microphoneMuted

val microphoneMutedBoolean?

Indicates whether the microphone is muted.

Access type: Write

minViewportResolution

val minViewportResolutionCameraAvStreamManagementTrait.VideoResolutionStruct?

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

Access type: Read

nightVision

val nightVisionCameraAvStreamManagementTrait.TriStateAutoEnum?

The currently selected Night Vision mode.

Access type: Write

recordingMicrophoneMuted

val recordingMicrophoneMutedBoolean?

Indicates whether the microphone is muted during recording of a clip.

Access type: Write

speakerMaxLevel

val speakerMaxLevelUByte?

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

Access type: Read

speakerMinLevel

val speakerMinLevelUByte?

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

Access type: Read

speakerVolumeLevel

val speakerVolumeLevelUByte?

The current volume level of the speaker.

Access type: Write

statusLightBrightness

val statusLightBrightnessCameraAvStreamManagementTrait.ThreeLevelAutoEnum?

The current brightness of the status light.

Access type: Write

videoSensorParams

val videoSensorParamsCameraAvStreamManagementTrait.VideoSensorParamsStruct?

The parameters for the video sensor.

Access type: Read

viewport

val viewportCameraAvStreamManagementTrait.ViewportStruct?

The viewport to apply to all streams.

Access type: Write