MediaCapture.FindAllVideoProfiles(String) MediaCapture.FindAllVideoProfiles(String) MediaCapture.FindAllVideoProfiles(String) MediaCapture.FindAllVideoProfiles(String) MediaCapture.FindAllVideoProfiles(String) Method

Definition

Retrieves the list of all video profiles supported by the specified video capture device.

public : static IVectorView<MediaCaptureVideoProfile> FindAllVideoProfiles(Platform::String videoDeviceId)
static IVectorView<MediaCaptureVideoProfile> FindAllVideoProfiles(winrt::hstring videoDeviceId) const;
public static IReadOnlyList<MediaCaptureVideoProfile> FindAllVideoProfiles(String videoDeviceId)
Public Shared Function FindAllVideoProfiles(videoDeviceId As String) As IReadOnlyList<MediaCaptureVideoProfile>(Of MediaCaptureVideoProfile)
var iVectorView = Windows.Media.Capture.MediaCapture.findAllVideoProfiles(videoDeviceId);

Parameters

videoDeviceId
String String String

The identifier of the video device for which supported video profiles are queried. For information on getting the video device ID, see DeviceInformation.FindAllAsync.

Returns

IReadOnlyList<MediaCaptureVideoProfile> IReadOnlyList<MediaCaptureVideoProfile> IReadOnlyList<MediaCaptureVideoProfile>

The list of video profiles supported by the specified video capture device.

Additional features and requirements

Capabilities
backgroundMediaRecording

Remarks

Before calling this method, call IsVideoProfileSupported to make sure that the capture device supports video profiles.

Use FindKnownVideoProfiles to request profiles with specific functionality using one of the KnownVideoProfile values.

For how-to guidance for working with camera profiles, see Discover and select camera capabilities with camera profiles.

See also