MediaCaptureVideoProfile.SupportedPreviewMediaDescription Property

Definition

Gets a list of MediaCaptureVideoProfileMediaDescription objects that represent supported video device settings for video preview.

public:
 property IVectorView<MediaCaptureVideoProfileMediaDescription ^> ^ SupportedPreviewMediaDescription { IVectorView<MediaCaptureVideoProfileMediaDescription ^> ^ get(); };
IVectorView<MediaCaptureVideoProfileMediaDescription> SupportedPreviewMediaDescription();
public IReadOnlyList<MediaCaptureVideoProfileMediaDescription> SupportedPreviewMediaDescription { get; }
var iVectorView = mediaCaptureVideoProfile.supportedPreviewMediaDescription;
Public ReadOnly Property SupportedPreviewMediaDescription As IReadOnlyList(Of MediaCaptureVideoProfileMediaDescription)

Property Value

A list of MediaCaptureVideoProfileMediaDescription objects that represent supported video device settings for video preview.

Windows requirements

App capabilities
backgroundMediaRecording

Remarks

You configure the capture device to use a particular MediaCaptureVideoProfileMediaDescription for photo capture by using the MediaCaptureInitializationSettings object. It is important that the video profile media description value you use when configuring the device is compatible with the other initialization settings. For more information on how to correctly use media profile descriptions in the MediaCaptureInitializationSettings, see MediaCaptureInitializationSettings.PreviewMediaDescription.

Applies to

See also