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

WarningsListener Interface Reference

Public Member Functions

void onWarnings (Set< Integer > warnings)
 

Detailed Description

Callback interface for adding custom logic to be executed after every time a warning is raised by the frame processing engine.

Possible warnings that can invoke the callback include too much glare and not enough contrast in the processed frame.

Since
5.11.1

Member Function Documentation

void onWarnings ( Set< Integer >  warnings)

Method invoked whenever a warning is raised by the frame processing engine.

This method is called on the WarningsListener whenever one of the following warnings are raised by the frame processing engine: BarcodePicker.TOO_MUCH_GLARE_WARNING, BarcodePicker.NOT_ENOUGH_CONTRAST_WARNING.

Parameters
warningsset of warnings codes.
Since
5.11.1

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