public static interface BarCodeReader.VideoCallback
限定符和类型 | 方法和说明 |
---|---|
void |
onVideoFrame(int format,
int width,
int height,
byte[] data,
BarCodeReader reader)
Called when image data is available during video capture mode.
|
void onVideoFrame(int format, int width, int height, byte[] data, BarCodeReader reader)
format
- format of the image (IMG_FORMAT_JPEG, IMG_FORMAT_BMP, or IMG_FORMAT_TIFF)with
- horizontal resolution of the imageheight
- vertical resolution of the imagedata
- a byte array of the video framereader
- the BarCodeUtils service object