public enum ResourceState extends java.lang.Enum<ResourceState> implements android.os.Parcelable
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<ResourceState> |
CREATOR |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
static ResourceState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResourceState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final ResourceState ACTIVE
public static final ResourceState DELETING
public static final ResourceState DELETED
public static final android.os.Parcelable.Creator<ResourceState> CREATOR
public static ResourceState[] values()
for (ResourceState c : ResourceState.values()) System.out.println(c);
public static ResourceState 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 nullpublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelablepublic int describeContents()
describeContents in interface android.os.Parcelable