Table of contents
Swift
Objective-C

This documentation is deprecated. It applies only to legacy version 9.x of Barcode Reader and must not be used for new development.

Please refer to the latest documentation and Migration Guide, which supersede this content.

IntermediateResultListener

IntermediateResultListener is the interface to handle callback when intermediate results are returned.

interface com.dynamsoft.dbr.IntermediateResultListener
Method Description
intermediateResultCallback Represents the method to handle the intermediate result array returned by the library.

intermediateResultCallback

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

void intermediateResultCallback(int frameID, ImageData imageData, IntermediateResult[] intermediateResult;

Parameters

frameId: The ID of the frame.
imageData: The image data of the frame.
results: The intermediate result of the frame.

Code Snippet

IntermediateResultListener intermediateResultListener = new IntermediateResultListener() {
    @Override
    public void intermediateResultCallback(int frameID, ImageData imageData, IntermediateResult[] intermediateResult) {
        // Add your code
    }
};

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: