Android.OS.AsyncTask Members

The members of Android.OS.AsyncTask are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Creates a new asynchronous task.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
IsCancelledbool. Returns true if this task was cancelled before it completed normally.
[read-only]
static
SerialExecutorJava.Util.Concurrent.IExecutor. An Java.Util.Concurrent.IExecutor that executes tasks one at a time in serial order.
[read-only]
static
ThreadPoolExecutorJava.Util.Concurrent.IExecutor. An Java.Util.Concurrent.IExecutor that can be used to execute tasks in parallel.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

Cancel(bool) : bool
static
Execute(Java.Lang.IRunnable)
Convenience version of AsyncTask`3.execute(Params...) for use with a simple Runnable object.
Execute(params Java.Lang.Object[]) : AsyncTask
Documentation for this section has not yet been entered.
ExecuteOnExecutor(Java.Util.Concurrent.IExecutor, params Java.Lang.Object[]) : AsyncTask
Documentation for this section has not yet been entered.
Get() : Java.Lang.Object
Waits if necessary for the computation to complete, and then retrieves its result.
Get(long, Java.Util.Concurrent.TimeUnit) : Java.Lang.Object
Waits if necessary for at most the given time for the computation to complete, and then retrieves its result.
GetAsync() : System.Threading.Tasks.Task<Java.Lang.Object>
Documentation for this section has not yet been entered.
GetAsync(long, Java.Util.Concurrent.TimeUnit) : System.Threading.Tasks.Task<Java.Lang.Object>
Documentation for this section has not yet been entered.
GetStatus() : AsyncTask.Status
Returns the current status of this task.

Protected Methods

abstract
DoInBackground(params Java.Lang.Object[]) : Java.Lang.Object
Documentation for this section has not yet been entered.
OnCancelled()
OnCancelled(Java.Lang.Object)
Documentation for this section has not yet been entered.
OnPostExecute(Java.Lang.Object)
Documentation for this section has not yet been entered.
OnPreExecute()
Runs on the UI thread before AsyncTask`3.doInBackground(Params...).
OnProgressUpdate(params Java.Lang.Object[])
Documentation for this section has not yet been entered.
PublishProgress(params Java.Lang.Object[])
Documentation for this section has not yet been entered.