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.

Since
5.1

Member Function Documentation

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

Whether the code is rejected or not.

setRejected(boolean)

Returns
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.

Parameters
rejectedThe new rejection status.
Since
5.1

The documentation for this class was generated from the following file:
  • RecognizedText.java