Modifier and Type | Method and Description |
---|---|
static BarCodeReader |
BarCodeReader.open()
Creates a new BarCodeReader object to access the first back-facing reader on
the device.
|
static BarCodeReader |
BarCodeReader.open(Context context)
Creates a new BarCodeReader object to access the first back-facing reader on
the device.
|
static BarCodeReader |
BarCodeReader.open(int readerId)
Creates a new BarCodeReader object to access a particular hardware reader.
|
static BarCodeReader |
BarCodeReader.open(int readerId,
Context context)
Creates a new BarCodeReader object to access a particular hardware reader.
|
Modifier and Type | Method and Description |
---|---|
void |
BarCodeReader.AutoFocusCallback.onAutoFocus(boolean success,
BarCodeReader reader)
Called when the reader auto focus completes.
|
void |
BarCodeReader.DecodeCallback.onDecodeComplete(int symbology,
int length,
byte[] data,
BarCodeReader reader)
Called when a decode operation has completed, either due to a timeout,
a successful decode or canceled by the user.
|
void |
BarCodeReader.ErrorCallback.onError(int error,
BarCodeReader reader)
Callback for reader errors.
|
void |
BarCodeReader.DecodeCallback.onEvent(int event,
int info,
byte[] data,
BarCodeReader reader)
Called to indicate that the decoder detected an event such as MOTION DECTECTED.
|
void |
BarCodeReader.PictureCallback.onPictureTaken(int format,
int width,
int height,
byte[] data,
BarCodeReader reader)
Called when image data is available after a picture is taken.
|
void |
BarCodeReader.PreviewCallback.onPreviewFrame(byte[] data,
BarCodeReader reader)
Called as preview frames are displayed.
|
void |
BarCodeReader.VideoCallback.onVideoFrame(int format,
int width,
int height,
byte[] data,
BarCodeReader reader)
Called when image data is available during video capture mode.
|
void |
BarCodeReader.OnZoomChangeListener.onZoomChange(int zoomValue,
boolean stopped,
BarCodeReader reader)
Called when the zoom value has changed during a smooth zoom.
|