isBarcodeScanner property
bool
get
isBarcodeScanner
Whether this device reads barcodes (SocketCam included).
A device unknown to this version of CaptureSDK is considered a barcode scanner. A combo device such as the S370 arrives as two devices: one barcode scanner and one NFC reader.
Implementation
bool get isBarcodeScanner {
if (_functions == CaptureDeviceTypeFunction.legacy) {
return SocketCamTypes.contains(type) ||
_interface == CaptureDeviceTypeInterface.bluetooth;
}
return (_functions &
(CaptureDeviceTypeFunction.scanner | CaptureDeviceTypeFunction.unknown)) !=
0;
}