Web Demos

BARCODE READER SDK DEMO

Explore the flexibe barcode reading settings to optimize for your specific usage scenario.

WEB TWAIN SDK DEMO

Try the most popular web scanner features: scan images, import local images and PDF files, edit, save to local, upload to database, and etc.

BARCODE READER JAVASCRIPT DEMO

Transform any camera-equipped devices into real-time, browser-based barcode and QR code scanners.

MRZ SCANNER WEB DEMO

Detects the machine-readable zone of a passport, scans the text, and parses into human-readable data.

APP STORE DEMOS

BARCODE READER SDK FOR IOS

BARCODE READER SDK FOR ANDROID

VIEW MORE DEMOS >
Dev Center
Table of contents

Thanks for downloading Dynamsoft Barcode Reader Package!

Your download will start shortly. If your download does not begin, click here to retry.

Interfaces

Interface Description
ErrorCallback Represents the method that will handle the error code returned by the SDK.
IntermediateResultCallback Represents the method that will handle the intermediate result array returned by the SDK.
TextResultCallback Represents the method that will handle the text result array returned by the SDK.

ErrorCallback

Represents the method that will handle the error code returned by the SDK.

void com.dynamsoft.dbr.ErrorCallback.errorCallback(int frameId, int errorCode, Object userData)	

Parameters
frameId The ID of the frame.
errorCode Error Code generated when decoding the frame. userData Arguments passed to your function.

IntermediateResultCallback

Represents the method that will handle the intermediate result array returned by the SDK.

void com.dynamsoft.dbr.IntermediateResultCallback.intermediateResultCallback(int frameId, IntermediateResult[] results, Object userData)	

Parameters
frameId The ID of the frame.
results The intermediate results of the frame.
userData Arguments passed to your function.

See Also
IntermediateResult

TextResultCallback

Interface to handle callbacks when the text result array returned by the SDK.

public interface TextResultCallback {
    void textResultCallback(int id, TextResult[] results, Object userData);
    void uniqueBarcodeCallback(int id, TextResult[] results, Object userData);
}

textResultCallback

The method will be triggered when the library finishes decoding a frame.

void textResultCallback(int id, TextResult[] results, Object userData);

Parameters
id The ID of the frame.
results Recognized barcode results of the frame. userData Arguments passed to your function.

See Also
TextResult

uniqueBarcodeCallback

The method will be triggered when the library finishes decoding a frame and finds unique barcodes.

void uniqueBarcodeCallback(int id, TextResult[] results, Object userData);

Parameters
id The ID of the frame.
results Recognized unique barcode results of the frame. userData Arguments passed to your function.

See Also
TextResult
FrameDecodingParameters.duplicateForgetTime

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

latest version

  • Latest version
  • Version 9.x
    • Version 9.6.10
    • Version 9.6.0
    • Version 9.4.0
    • Version 9.2.0
    • Version 9.0.0
  • Version 8.x
    • Version 8.8.0
    • Version 8.6.0
    • Version 8.4.0
    • Version 8.2.0
    • Version 8.1.2
    • Version 8.1.0
    • Version 8.0.0
  • Version 7.x
    • Version 7.6.0
    • Version 7.5.0
Change +