MediaCapture.IsVideoProfileSupported(String) Methode

Definition

Ruft einen booleschen Wert ab, der angibt, ob Videoprofile vom angegebenen Videoaufnahmegerät unterstützt werden.

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

Parameter

videoDeviceId
String

Platform::String

winrt::hstring

Der Bezeichner des Videogeräts, für das unterstützte Videoprofilunterstützung abgefragt wird. Informationen zum Abrufen der Videogeräte-ID finden Sie unter DeviceInformation.FindAllAsync.

Gibt zurück

Boolean

bool

True, wenn Videoprofile unterstützt werden; andernfalls false.

Windows-Anforderungen

App-Funktionen
backgroundMediaRecording

Gilt für: