Resource Base
Thanks for downloading Dynamsoft Barcode Reader Package!
Your download will start shortly. If your download does not begin, click here to retry.
ErrorCallback
is the interface to handle callback when an error is returned.
interface com.dynamsoft.dbr.ErrorCallback
Method | Description |
---|---|
errorCallback |
Represents the method to handle the error code returned by the library. |
void errorCallback(int var1, int var2, Object var3);
Parameters
frameId
: The ID of the frame.
errorCode
: Error Code generated when decoding the frame.
userData
: Arguments passed to your function.
Code Snippet
ErrorCallback errorCallback = new ErrorCallback() {
@Override
public void errorCallback(int frameID, int errorCode, Object userData) {
//Add your code
}
};
latest version