FMX.Media.TVideoCaptureSettingPriority

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TVideoCaptureSettingPriority = (Resolution, FrameRate);

C++

enum class DECLSPEC_DENUM TVideoCaptureSettingPriority : unsigned char { Resolution, FrameRate };

Properties

Type Visibility Source Unit Parent
enum public
FMX.Media.pas
FMX.Media.hpp
FMX.Media FMX.Media

Description

Enumerates the priorities to sort the video capture settings of a camera.

To know the supported frame configurations of a camera, use the TCameraComponent.AvailableCaptureSettings or the TVideoCaptureDevice.AvailableCaptureSettings property that holds an Array with the supported configurations.

Before capturing the supported configurations, you can set the TCameraComponent.CaptureSettingPriority or the TVideoCaptureDevice.CaptureSettingPriority of type TVideoCaptureSettingPriority to one of the following values to define the sorting priority:

Value Description
Resolution The sorting criterion is from the highest resolution to the lowest.
FrameRate The sorting criterion is from the fastest frame rate to the slowest.

See Also