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