public class DecodeReader
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
static interface |
DecodeReader.DecodeCallback |
static class |
DecodeReader.DecodeOptions |
static class |
DecodeReader.SymbologyID |
static class |
DecodeReader.SymbolProperty |
构造器和说明 |
---|
DecodeReader(Context context) |
限定符和类型 | 方法和说明 |
---|---|
void |
connectDecoderLibrary() |
void |
disconnectDecoderLibrary() |
byte[] |
getLastImage() |
byte[] |
getPreviewImage() |
int |
getProperty(int var1,
int var2) |
void |
onScanResults(byte[] data,
int len,
int type) |
void |
setDecodeCallback(DecodeReader.DecodeCallback cb) |
void |
setPreviewTexture(SurfaceTexture surfaceTexture) |
int |
setProperty(int var1,
int var2) |
void |
startScanning() |
void |
stopScanning() |
public void connectDecoderLibrary()
public void disconnectDecoderLibrary()
public int setProperty(int var1, int var2)
public int getProperty(int var1, int var2)
public void startScanning()
public void stopScanning()
public byte[] getLastImage()
public byte[] getPreviewImage()
public final void setPreviewTexture(SurfaceTexture surfaceTexture)
public final void setDecodeCallback(DecodeReader.DecodeCallback cb)
public void onScanResults(byte[] data, int len, int type)