MediaCaptureSettings.VideoDeviceId Eigenschaft

Definition

Ruft die DeviceInformation.Id der Videokamera ab.

public:
 property Platform::String ^ VideoDeviceId { Platform::String ^ get(); };
winrt::hstring VideoDeviceId();
public string VideoDeviceId { get; }
var string = mediaCaptureSettings.videoDeviceId;
Public ReadOnly Property VideoDeviceId As String

Eigenschaftswert

String

Platform::String

winrt::hstring

Die DeviceInformation.Id der Videokamera.

Windows-Anforderungen

App-Funktionen
backgroundMediaRecording microphone webcam

Hinweise

Diese Methode gibt möglicherweise NULL zurück, wenn das Gerät diese Funktionalität nicht unterstützt. Weitere Informationen finden Sie in der DeviceInformation-Klasse .

Gilt für: