VideoFormatList Class

Namespace: id3.Devices

Definition

Manages a list of video_format objects, allowing applications to query and select from the available video formats offered by a device
This class supports operations to find the video format that best matches desired specifications, facilitating optimal video capture and playback configurations.

Properties

Name

Type

Description

count

int

Gets the number of elements contained in the list

operator [int index]

VideoFormat

Gets or sets the element at the specified index in the list.

Iteration

This class supports iteration in Dart, C#, Java and Python.

Methods

Name

Description

add

Adds an item to the VideoFormatList object.

clear

Clears the VideoFormatList object.

findNearestVideoFormat

Searches the list to identify the video format that most closely matches the specified width, height, and frame rate criteria

get

Gets an item of the VideoFormatList object.

getCount

Gets the number of elements in the VideoFormatList object.

removeAt

Removes an element of the VideoFormatList object.

resize

VideoFormatList object.

set

Sets an item of the VideoFormatList object.