Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MediaCapture.IsVideoProfileSupported(String) Method

Definition

Important

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.

Gets a boolean value indicating whether video profiles are supported by the specified video capture device.

public:
 static bool IsVideoProfileSupported(Platform::String ^ videoDeviceId);
 static bool IsVideoProfileSupported(winrt::hstring const& videoDeviceId);
public static bool IsVideoProfileSupported(string videoDeviceId);
function isVideoProfileSupported(videoDeviceId)
Public Shared Function IsVideoProfileSupported (videoDeviceId As String) As Boolean

Parameters

videoDeviceId
String

Platform::String

winrt::hstring

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

Returns

Boolean

bool

True if video profiles are supported; otherwise, false.

Windows requirements

Requirements Description
App capabilities
backgroundMediaRecording

Applies to


Feedback

Was this page helpful?