MediaCapture.IsVideoProfileSupported(String) Méthode

Définition

Obtient une valeur booléenne indiquant si les profils vidéo sont pris en charge par l’appareil de capture vidéo spécifié.

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

Paramètres

videoDeviceId
String

Platform::String

winrt::hstring

L’identificateur de l’appareil vidéo pour lequel la prise en charge des profils vidéo est interrogé. Pour plus d’informations sur l’obtention de l’ID d’appareil vidéo, consultez DeviceInformation.FindAllAsync.

Retours

Boolean

bool

True si les profils vidéo sont pris en charge ; sinon, false.

Configuration requise pour Windows

Fonctionnalités de l’application
backgroundMediaRecording

S’applique à