MediaCaptureInitializationSettings.VideoDeviceId MediaCaptureInitializationSettings.VideoDeviceId MediaCaptureInitializationSettings.VideoDeviceId MediaCaptureInitializationSettings.VideoDeviceId MediaCaptureInitializationSettings.VideoDeviceId Property

Definition

Gets the DeviceInformation.Id of the video camera.

public : Platform::String VideoDeviceId { get; set; }
winrt::hstring VideoDeviceId();

void VideoDeviceId(winrt::hstring videodeviceid);
public string VideoDeviceId { get; set; }
Public ReadWrite Property VideoDeviceId As string
var string = mediaCaptureInitializationSettings.videoDeviceId;
mediaCaptureInitializationSettings.videoDeviceId = string;

Property Value

string string string

The DeviceInformation.Id of the video camera.

Additional features and requirements

Capabilities
webcam backgroundMediaRecording microphone

Remarks

This method may return a NULL pointer if the device doesn't support this functionality. For more information, see the DeviceInformation class.