public interface IScannerDevice extends IAdvanceDevice
Modifier and Type | Interface and Description |
---|---|
static class |
IScannerDevice.ScanType |
Modifier and Type | Method and Description |
---|---|
IScannerDevice.ScanType |
getScanType(int index) |
ScanResult |
scanBarcode(ScanParameter parameter)
synchronous scan
|
void |
startScan(ScanParameter parameter,
IScanCallBack callBack)
start Asynchronous scan
|
boolean |
stopScan()
stop scanner
|
close, isOpened, open
IScannerDevice.ScanType getScanType(int index) throws DeviceException
index
- : camera idDeviceException
,
,
,
,
.
ScanResult scanBarcode(ScanParameter parameter) throws DeviceException
parameter
- :Scan configuration parametersDeviceException
void startScan(ScanParameter parameter, IScanCallBack callBack) throws DeviceException
parameter
- : Scan configuration parameterscallBack
- : Callback for scan resultDeviceException
boolean stopScan() throws DeviceException
DeviceException