public class MobyDataDecoder_qcom extends BarcodeDecoder
BarcodeDecoder.DecodeCallback, BarcodeDecoder.IBarcodeImageCallback
DECODE_CANCEL, DECODE_ENGINE_ERROR, DECODE_FAILURE, DECODE_SUCCESS, DECODE_TIMEOUT
限定符和类型 | 方法和说明 |
---|---|
void |
close()
关闭二维扫描设备
Switch off 2D barcode scannning device |
boolean |
getBarcodeConfig(EvlProperty prop) |
boolean |
getBarcodeConfig(EvlProperty[] prop) |
java.lang.String |
getBarcodeName(int symbology) |
void |
NotificationCallback(long ID) |
boolean |
open(Context context)
打开二维扫描设备
Switch on 2D scanning device |
boolean |
scanDisable() |
boolean |
scanEnable() |
boolean |
setAIM(boolean enable)
启用或者禁用aim模式
|
boolean |
setBarcodeConfig(EvlProperty Prop)
配置条码
|
boolean |
setBarcodeConfig(EvlProperty[] Props)
配置条码
|
void |
setDecodeCallback(BarcodeDecoder.DecodeCallback scanCallbackListener)
设置回调对象接收条码数据,主线程回调
Setup call-back target to acquire barcode data. |
boolean |
setIllumination(boolean enable)
启用或者禁用Illumination模式
|
boolean |
setIlluminationLevel(int level) |
boolean |
setLowLevelResourcesToEVL(Context context,
java.lang.String path1,
java.lang.String path2) |
boolean |
setPickListConfig(boolean enable)
启用或者禁用picklist模式
|
void |
setTimeOut(int timeOut)
设置超时时间
setup time-out duration |
boolean |
startScan()
触发二维条码扫描
Trigger 2D barcode scanning function |
void |
stopScan()
终止扫描
Scanning terminated |
getDecoderSVersionInfo, getLastDecImage, isOpen, setParameter
public boolean open(Context context)
BarcodeDecoder
open
在类中 BarcodeDecoder
public void close()
BarcodeDecoder
close
在类中 BarcodeDecoder
public boolean startScan()
BarcodeDecoder
startScan
在类中 BarcodeDecoder
public void stopScan()
BarcodeDecoder
stopScan
在类中 BarcodeDecoder
public void setDecodeCallback(BarcodeDecoder.DecodeCallback scanCallbackListener)
BarcodeDecoder
setDecodeCallback
在类中 BarcodeDecoder
public void setTimeOut(int timeOut)
BarcodeDecoder
setTimeOut
在类中 BarcodeDecoder
timeOut
- 超时时间,单位:秒(timeOut,Unit: second)public void NotificationCallback(long ID)
public boolean setAIM(boolean enable)
enable
- public boolean setPickListConfig(boolean enable)
enable
- public boolean setIlluminationLevel(int level)
public boolean setIllumination(boolean enable)
enable
- public boolean setBarcodeConfig(EvlProperty[] Props)
Props
- public boolean setBarcodeConfig(EvlProperty Prop)
Prop
- public boolean getBarcodeConfig(EvlProperty prop)
public boolean getBarcodeConfig(EvlProperty[] prop)
public boolean setLowLevelResourcesToEVL(Context context, java.lang.String path1, java.lang.String path2)
public boolean scanEnable()
public boolean scanDisable()
public java.lang.String getBarcodeName(int symbology)