Deprecation warning

Please note that this is outdated documentation for an older release of the Scandit Barcode Scanner SDK.

We are deprecating the 5.x API on all platforms (except Linux). Release 5.19 in April 2021 will be our final. Applications running 5.x will continue to work, and we will continue to release critical bug fixes and security patches only, for one year. We encourage you to migrate to 6.x and take advantage of our latest / advanced features and improved performance.

You'll find the updated documentation at: Data Capture SDK Documentation for Android

ScanditSDKProcessingListener Interface Reference

Public Member Functions

void didProcess (byte[] imageBuffer, int width, int height, ScanditSDKScanSession session)
 

Detailed Description

Interface for a processing listener.

Since
4.5.0

Member Function Documentation

void didProcess ( byte[]  imageBuffer,
int  width,
int  height,
ScanditSDKScanSession  session 
)

Invoked every time a frame has been processed by the recognition engine.

In contrast to ScanditSDKOnScanListener::didScan, the didProcess callback is invoked after every frame, regardless whether a code could be successfully decoded or not. If your are only interested in fully decoded codes, use the ScanditSDKOnScanListener instead.

The didProcess callback is invoked in the thread that runs the recognition engine and blocks further processing.

Parameters
imageBufferthe raw image data that was processed in NV21 format
widthwidth of the image buffer in pixels
heightheight of the image buffer in pixels
sessioncontains information on the current recognition process. It is only valid to access the scan session from within the callback. If part of the information is required outside the callback it must be copied first.

The documentation for this interface was generated from the following file:
  • ScanditSDKProcessingListener.java