TextResultCallback
TextResultCallback
is The interface to handle callback when the barcode results are returned.
interface com.dynamsoft.dbr.TextResultCallback
Method | Description |
---|---|
textResultCallback |
Represents the method to handle the text result array returned by the library. |
textResultCallback
The abstract class for users to get barcode results from the callback.
void textResultCallback(int frameId, TextResult[] results, Object userData);
Parameters
frameId
: The ID of the frame.
results
: Recognized barcode results of the frame.
userData
: Arguments passed to your function.
Code Snippet
TextResultCallback textResultCallback = new TextResultCallback() {
@Override
public void textResultCallback(int frameID, TextResult[] textResults, Object userdate) {
// Add your code
}
};