Skip to content

Latest commit

 

History

History
98 lines (66 loc) · 3.25 KB

File metadata and controls

98 lines (66 loc) · 3.25 KB
layout title description keywords needAutoGenerateSidebar needGenerateH3Content noTitleIndex permalink
default-layout
Interface - Dynamsoft Barcode Reader Android API Reference
This page shows all interfaces of Dynamsoft Barcode Reader for Android SDK.
ErrorCallback, IntermediateResultCallback, TextResultCallback, DBRServerLicenseVerificationListener, interface, api reference, android
true
false
true
/programming/android/api-reference/interface-v8.4.0.html

Interfaces - v8.4

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.
DBRServerLicenseVerificationListener Represents the method that will handle callback when license server returns.
DBRLTSLicenseVerificationListener Represents the method that will handle callback when Dynamsoft License Server returns.

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

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

DBRServerLicenseVerificationListener

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

void com.dynamsoft.dbr.DBRServerLicenseVerificationListener.licenseVerificationCallback (boolean isSuccess, Exception error)

Parameters

isSuccess: Whether the license verification was successful.
error: The error message from license server.

DBRLTSLicenseVerificationListener

Represents the method that will handle callback when Dynamsoft License Server returns.

void com.dynamsoft.dbr.DBRLTSLicenseVerificationListener.licenseVerificationCallback (boolean isSuccess, Exception error)

Parameters

isSuccess: Whether the license verification was successful.
error: The error message from license server.