BarcodeScanner.VideoDeviceId Property

Definition

Retrieves the video device ID which represents the camera lens associated with the claimed barcode scanner. (Not supported on mobile platforms)

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

Property Value

String

Platform::String

winrt::hstring

The video device ID.

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to