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

MatrixScanListener Interface Reference

Public Member Functions

void matrixScan (MatrixScan matrixScan, Frame didUpdate)
 
boolean shouldRejectCode (MatrixScan matrixScan, TrackedBarcode trackedBarcode)
 

Detailed Description

An interface used by MatrixScan instance.

Since
5.9.0

Member Function Documentation

void matrixScan ( MatrixScan  matrixScan,
Frame  didUpdate 
)

Method invoked by MatrixScan instance every time a Frame is being processed.

Parameters
matrixScanA MatrixScan instance.
didUpdateA processed Frame object.
Since
5.9.0
boolean shouldRejectCode ( MatrixScan  matrixScan,
TrackedBarcode  trackedBarcode 
)

Method which can be used to define an extra condition for rejecting a barcode.

It will be invoked by MatrixScan every time a new barcode is recognized.

Parameters
matrixScanA MatrixScan instance.
trackedBarcodeA com.scandit.recognition.TrackedBarcode instance.
Returns
A boolean stating whether the tracked barcode should be rejected.
Since
5.9.0

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