public static enum AsyncTask.Status extends 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(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is null