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

TextRecognitionListener Interface Reference

Public Member Functions

int didRecognizeText (RecognizedText text)

Public Attributes


Detailed Description

Interface to be implemented for handling text recognition events.

Member Function Documentation

int didRecognizeText ( RecognizedText  text)

Invoked whenever text has been recognized in a frame.

textThe recognized text.
The new state for the barcode picker. If you want to continue scanning, return PICKER_STATE_ACTIVE, if you want to pause scanning, use PICKER_STATE_PAUSED. If you want to complete stop the scanning, usePICKER_STATE_STOPPED.

Member Data Documentation


Put the picker into paused state.

This will keep the camera preview running but stop the recognition process.


Put the picker into stopped state.

This will stop the camera preview and stop the recognition process.


Keep the picker in active state.

This will keep the camera preview and recognition process running.

The documentation for this interface was generated from the following file: