BarcodeReaderException
Exception for signalling barcode reader errors.
class com.dynamsoft.dbr.BarcodeReaderException;
Method | Type | Description |
---|---|---|
getErrorCode |
int | Get the error code |
getErrorCode
Return Value
This method returns the DBR error code. Please view more about the error code in EnumErrorCode
Code Snippet
try {
//Here we use decodeFile as example.
reader.decodeFile("Your file path","");
} catch (BarcodeReaderException e) {
Log.i("Decode", "onCreate: The error code for decode file is: "+e.getErrorCode());
}