Capture. Find Known Video Profiles(String, KnownVideoProfile) Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public: static IVectorView<MediaCaptureVideoProfile ^> ^ FindKnownVideoProfiles(Platform::String ^ videoDeviceId, KnownVideoProfile name);
static IVectorView<MediaCaptureVideoProfile> FindKnownVideoProfiles(winrt::hstring const& videoDeviceId, KnownVideoProfile const& name);
public static IReadOnlyList<MediaCaptureVideoProfile> FindKnownVideoProfiles(string videoDeviceId, KnownVideoProfile name);
function findKnownVideoProfiles(videoDeviceId, name)
Public Shared Function FindKnownVideoProfiles (videoDeviceId As String, name As KnownVideoProfile) As IReadOnlyList(Of MediaCaptureVideoProfile)
The identifier of the video device for which supported video profiles are queried. For information on getting the video device ID, see DeviceInformation.FindAllAsync.
A value specifying one of the profile names known by the system.
The list of video profiles supported by the specified video capture device that match the specified known profile name.
Before calling this method, call IsVideoProfileSupported to make sure that the capture device supports video profiles.
This method allows you to request profiles with specific functionality by using one of the KnownVideoProfile values. Some hardware may support additional profiles that do not correspond to any of the known profile names. Use FindAllVideoProfiles to retrieve all video profiles supported by the video capture device.
For how-to guidance for working with camera profiles, see Discover and select camera capabilities with camera profiles.
Submit and view feedback for