public interface DecodedImage
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getError()
Gets any error message, or returns null or a blank string if there was no error
|
ImageErrorCode |
getErrorCode()
Returns an error code that can be used to determine the cause of the error.
|
java.lang.Object |
getResult()
Gets the result from decoding the image.
|
void |
reportAsBad()
Handles an incorrectly resolved image.
|
boolean |
wasError()
Returns true if there was an error, false otherwise.
|
@Nullable java.lang.Object getResult()
void reportAsBad()
@Nullable java.lang.String getError()
boolean wasError()
ImageErrorCode getErrorCode()