CameraAvStreamManagementTrait.VideoResolutionStruct

class CameraAvStreamManagementTrait.VideoResolutionStruct : ClusterStruct


The resolution of the video.

Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

VideoResolutionStruct(width: UShort, height: UShort)

Creates the VideoResolutionStruct class.

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

UShort

The height of the video in pixels.

UShort

The width of the video in pixels.

Public constructors

VideoResolutionStruct

VideoResolutionStruct(width: UShort, height: UShort)

Creates the VideoResolutionStruct 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

height

val heightUShort

The height of the video in pixels.

width

val widthUShort

The width of the video in pixels.