public static enum AsyncTask.Status extends java.lang.Enum<AsyncTask.Status>
| Enum Constant and Description |
|---|
FINISHED
Indicates that
AsyncTask.onPostExecute(Result) has finished. |
PENDING
Indicates that the task has not been executed yet.
|
RUNNING
Indicates that the task is running.
|
| Modifier and Type | Method and Description |
|---|---|
static AsyncTask.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AsyncTask.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AsyncTask.Status PENDING
public static final AsyncTask.Status RUNNING
public static final AsyncTask.Status FINISHED
AsyncTask.onPostExecute(Result) has finished.public static AsyncTask.Status[] values()
for (AsyncTask.Status c : AsyncTask.Status.values()) System.out.println(c);
public static AsyncTask.Status 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