public interface IBarcode1D
| Modifier and Type | Method and Description | 
|---|---|
| boolean | close()关闭一维扫描设备 Switch off 1D 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. | 
| boolean | setBaudrate(int baudrate) | 
| void | setTimeOut(int time)设置超时时间 set time out. | 
| boolean | stopScan()终止扫描 Scanning terminated | 
boolean open(Context context)
context - Contextboolean open()
boolean setBaudrate(int baudrate)
java.lang.String scan()
byte[] scanBarcode()
void setTimeOut(int time)
time(500-10000 - ms) 超时时间boolean stopScan()
boolean close()
boolean isPowerOn()