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

RecognizedText Class Reference

Public Member Functions

String getText ()
boolean isRejected ()
void setRejected (boolean rejected)

Detailed Description

Holds the text recognition result as identified in a frame.


Member Function Documentation

String getText ( )
The identified text in the frame.
boolean isRejected ( )

Whether the code is rejected or not.


True if the code has been rejected, false if not.
void setRejected ( boolean  rejected)

Whether this code is rejected or not.

If beeping/vibration is enabled, the device will beep and vibrate whenever text has been recognized. Set this property to true to suppress beeping/vibration. Use this functionality if you want to perform additional checks on the recognized text that cannot be expressed through a regular expression.

rejectedThe new rejection status.

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