to top
Android APIs
public static final enum


extends Enum<E extends Enum<E>>
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ android.os.AsyncTask.Status

Class Overview

Indicates the current status of the task. Each status will be set only once during the lifetime of a task.


Enum Values
AsyncTask.Status  FINISHED  Indicates that onPostExecute(Result) has finished. 
AsyncTask.Status  PENDING  Indicates that the task has not been executed yet. 
AsyncTask.Status  RUNNING  Indicates that the task is running. 
Public Methods
static AsyncTask.Status valueOf(String name)
final static Status[] values()
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final AsyncTask.Status FINISHED

Indicates that onPostExecute(Result) has finished.

public static final AsyncTask.Status PENDING

Indicates that the task has not been executed yet.

public static final AsyncTask.Status RUNNING

Indicates that the task is running.

Public Methods

public static AsyncTask.Status valueOf (String name)

Since: API Level 3

public static final Status[] values ()

Since: API Level 3