public static enum FailedReason.FailedType extends java.lang.Enum<FailedReason.FailedType>
Enum Constant and Description |
---|
ERROR_IO
get image from network or save image to sdcard error
|
ERROR_OUT_OF_MEMORY
get image with out of memory error
|
ERROR_UNKNOWN
reserved field, it's no use now, waiting to be perfect^_^
|
Modifier and Type | Method and Description |
---|---|
static FailedReason.FailedType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FailedReason.FailedType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FailedReason.FailedType ERROR_IO
public static final FailedReason.FailedType ERROR_OUT_OF_MEMORY
public static final FailedReason.FailedType ERROR_UNKNOWN
public static FailedReason.FailedType[] values()
for (FailedReason.FailedType c : FailedReason.FailedType.values()) System.out.println(c);
public static FailedReason.FailedType 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