Added in API level 3
Deprecated in API level 30

Status


class Status
AsyncTask.Status.FINISHED

Indicates that AsyncTask.onPostExecute has finished.

AsyncTask.Status.PENDING

Indicates that the task has not been executed yet.

AsyncTask.Status.RUNNING

Indicates that the task is running.


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

Summary

Enum values

Indicates that AsyncTask.onPostExecute has finished.

Indicates that the task has not been executed yet.

Indicates that the task is running.

Enum values

FINISHED

Added in API level 3
enum val FINISHED : AsyncTask.Status

Deprecated: Deprecated in Java.

Indicates that AsyncTask.onPostExecute has finished.

PENDING

Added in API level 3
enum val PENDING : AsyncTask.Status

Deprecated: Deprecated in Java.

Indicates that the task has not been executed yet.

RUNNING

Added in API level 3
enum val RUNNING : AsyncTask.Status

Deprecated: Deprecated in Java.

Indicates that the task is running.