Added in API level 3
Deprecated in API level 30

Status


class Status
kotlin.Any
   ↳ kotlin.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

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.