MENU
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.

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

This page is compatible for:

Version 7.5

Is this page helpful?

YesYes NoNo

latest version

  • Latest Version
  • version 7.6
  • version 7.5
Change +
© 2003–2020 Dynamsoft. All rights reserved.
Privacy Statement / Site Map / Home / Purchase / Support