public static enum FailReason.FailType extends java.lang.Enum<FailReason.FailType>
Enum Constant and Description |
---|
DECODING_ERROR
Error while
decode image to Bitmap
|
IO_ERROR
Input/output error.
|
NETWORK_DENIED
Network
downloads are denied and requested image wasn't cached in disk cache before.
|
OUT_OF_MEMORY
Not enough memory to create needed Bitmap for image
|
UNKNOWN
Unknown error was occurred while loading image
|
Modifier and Type | Method and Description |
---|---|
static FailReason.FailType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FailReason.FailType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FailReason.FailType IO_ERROR
public static final FailReason.FailType DECODING_ERROR
public static final FailReason.FailType NETWORK_DENIED
public static final FailReason.FailType OUT_OF_MEMORY
public static final FailReason.FailType UNKNOWN
public static FailReason.FailType[] values()
for (FailReason.FailType c : FailReason.FailType.values()) System.out.println(c);
public static FailReason.FailType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null