public interface IBarcode2D
Modifier and Type | Method and Description |
---|---|
boolean |
close()
关闭二维扫描设备
Switch off 2D barcode scanning device. |
boolean |
isPowerOn() |
boolean |
open()
打开二维扫描设备
Switch on 1D scanning device. |
boolean |
open(Context context)
打开二维扫描设备
Switch on 1D scanning device. |
java.lang.String |
scan()
触发一次条码扫描
Enable barcode scanning for 1 time. |
byte[] |
scanBarcode()
触发一次条码扫描
Enable barcode scanning for 1 time. |
void |
setTimeOut(int time)
设置超时时间
set time out. |
boolean |
stopScan()
终止扫描
Scanning terminated |
boolean open()
boolean open(Context context)
java.lang.String scan()
byte[] scanBarcode()
boolean stopScan()
boolean close()
void setTimeOut(int time)
time(500-10000
- ms) 超时时间boolean isPowerOn()