public class Barcode2DSoftHuace extends Barcode2DWithSoft
Barcode2DWithSoft.CODETYPE, Barcode2DWithSoft.HardwareType, Barcode2DWithSoft.PictureCallback, Barcode2DWithSoft.ScanCallback, Barcode2DWithSoft.ScanerParamNum, Barcode2DWithSoft.ScanerParamVal, Barcode2DWithSoft.ScanerPropertyNum, Barcode2DWithSoft.VideoCallback
Constructor and Description |
---|
Barcode2DSoftHuace() |
Modifier and Type | Method and Description |
---|---|
boolean |
close()
关闭扫描头,释放扫描头资源
|
static Barcode2DSoftHuace |
getInstance() |
boolean |
isScaning()
获取扫描状态,是否正在扫描
|
boolean |
open(Context context)
打开扫描头
|
java.lang.String |
startScan()
开始扫描
|
void |
stopScan()
停止扫描
|
disableAllCodeTypes, enableAllCodeTypes, enableBarcode, fWUpdate, getCodeTypeList, getDecoder, getHardwareType, getNumParameter, getNumProperty, getScannerIdFromCamera, getScannerIdFromCamera2, getStrParameter, getStrProperty, isPowerOn, isUpAndroid7, readCameraState, readScannerCameraId, scan, setCodeTypeOnAndOff_IA400S, setDefaultParameters, setLicense_IA400S, setNoDisplayMode, setParameter, setParameter, setPreviewDisplay, setScanCallback, setTimeOut, startHandsFree, startPreview, startViewFinder, stopHandsFree, stopPreview, takePicture, writeCameraState, writeScannerCameraId, writeScannerState
public static Barcode2DSoftHuace getInstance()
public boolean open(Context context)
open
in class Barcode2DWithSoft
context
- Contextpublic boolean close()
close
in class Barcode2DWithSoft
public java.lang.String startScan()
public void stopScan()
stopScan
in class Barcode2DWithSoft
public boolean isScaning()