Added in API level 28
ImageDecoder.DecodeException
public
static
final
class
ImageDecoder.DecodeException
extends IOException
| java.lang.Object | ||||
| ↳ | java.lang.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | java.io.IOException | |||
| ↳ | android.graphics.ImageDecoder.DecodeException | |||
Information about an interrupted decode.
Summary
Constants | |
|---|---|
int |
SOURCE_EXCEPTION
An Exception was thrown reading the |
int |
SOURCE_INCOMPLETE
The encoded data was incomplete. |
int |
SOURCE_MALFORMED_DATA
The encoded data contained an error. |
Public methods | |
|---|---|
int
|
getError()
Retrieve the reason that decoding was interrupted. |
ImageDecoder.Source
|
getSource()
R |