-api-id | -api-type | -api-device-family-note |
---|---|---|
M:Windows.Devices.PointOfService.BarcodeScanner.FromIdAsync(System.String) |
winrt method |
xbox |
Creates BarcodeScanner object from the DeviceInformation.Id.
The DeviceInformation.Id that identifies a specific barcode scanner, which can be retrieved from the DeviceId property.
The barcode scanner specified by the unique device identifier. Returns a null object in the following cases:
- The specific device is not found.
- Access denied to the existing device. The user can deny access to a device, which is not treated as an exception.