Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.45 KB

interface-textresultcallback-v9.6.20.md

File metadata and controls

45 lines (32 loc) · 1.45 KB
layout title description keywords needAutoGenerateSidebar needGenerateH3Content noTitleIndex permalink
default-layout
Interface TextResultListener - Dynamsoft Barcode Reader Android API Reference
This the interface TextResultListener page of Dynamsoft Barcode Reader for Android SDK.
TextResultListener, interface, android
true
false
true
/programming/android/api-reference/interface-textresultcallback-v9.6.20.html

TextResultListener

TextResultListener is the interface to handle callbacks when the barcode results are returned.

interface com.dynamsoft.dbr.TextResultListener
Method Description
textResultCallback Represents the method to handle the text result array returned by the library.

textResultCallback

Represents the method to handle the text result array returned by the library.

void textResultCallback(int frameId, ImageData imageData, TextResult[] results);

Parameters

frameId: The ID of the frame.
imageData: The image data of the frame.
results: Recognized barcode results of the frame.

Code Snippet

Code Snippet

You have to either use CameraEnhacner or ImageSource as the source of video streaming to receive barcode results from textResultCallback.