Skip to content

Most visited

Recently visited

navigation

AsyncTask.Status

public static final enum AsyncTask.Status
extends Enum<AsyncTask.Status>

java.lang.Object
   ↳ java.lang.Enum<android.os.AsyncTask.Status>
     ↳ android.os.AsyncTask.Status


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)
static final Status[] values()

Inherited methods

From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum values

FINISHED

Added in API level 3
AsyncTask.Status FINISHED

Indicates that onPostExecute(Result) has finished.

PENDING

Added in API level 3
AsyncTask.Status PENDING

Indicates that the task has not been executed yet.

RUNNING

Added in API level 3
AsyncTask.Status RUNNING

Indicates that the task is running.

Public methods

valueOf

Added in API level 3
AsyncTask.Status valueOf (String name)

Parameters
name String
Returns
AsyncTask.Status

values

Added in API level 3
Status[] values ()

Returns
Status[]
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.