Share via


MediaCapture.IsVideoProfileSupported(String) Method

Definition

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

App capabilities
backgroundMediaRecording

Applies to