Dev Center
Table of contents

Java API Reference - Interface

Function 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.barcode.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.barcode.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

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

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.

See Also

TextResult

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

version 7.6.0

  • Latest version
  • Version 10.x
    • Version 10.2.0
    • Version 10.0.20
    • Version 10.0.10
    • Version 10.0.0
  • Version 9.x
    • Version 9.6.40
    • Version 9.6.30
    • Version 9.6.20
    • 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 +