to top
Android APIs
public static final enum

AsyncTask.Status

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ 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.

Summary

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()
[Expand]
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

Added in API level 3

Indicates that onPostExecute(Result) has finished.

public static final AsyncTask.Status PENDING

Added in API level 3

Indicates that the task has not been executed yet.

public static final AsyncTask.Status RUNNING

Added in API level 3

Indicates that the task is running.

Public Methods

public static AsyncTask.Status valueOf (String name)

Added in API level 3

public static final Status[] values ()

Added in API level 3