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
bool
True if video profiles are supported; otherwise, false.
Windows requirements
App capabilities |
backgroundMediaRecording
|
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor