AsyncTask (object)

AsyncTask AsyncTask AsyncTask AsyncTask_virtuals AsyncTask_virtuals AsyncTask->AsyncTask_virtuals

Members

UInt32 state AsyncTaskState_X
String name  
UInt8 priority  

Methods

  AsyncTask ( in AsyncTask other )
  AsyncTask ()
Boolean cancelRequested ? ()
AsyncTask clone ? ()
Boolean execute ! ()
  executionDone ! ( in Boolean executeResult )
String getDebugName ? ()
Boolean hasExecuted ? ()
Boolean hasExecutedSuccessfully ? ()
Boolean mainThreadFinalizeWork ! ()
Boolean requiresMainThreadFinalizeWork ? ()

Methods in detail

AsyncTask ( in AsyncTask other )

copy constructor


AsyncTask ()

default constructor


Boolean AsyncTask.cancelRequested? ()

Returns true if a “cancel” was requested for this task. This could happen at any time, including during execute().


AsyncTask AsyncTask.clone? ()

clone method


Boolean AsyncTask.execute! ()

This execute function will be called from the thread executing the asynchronous task. To be overriden


AsyncTask.executionDone! ( in Boolean executeResult )

This execute function will be called after the task has finished executing. To be overriden


String AsyncTask.getDebugName? ()


Boolean AsyncTask.hasExecuted? ()


Boolean AsyncTask.hasExecutedSuccessfully? ()


Boolean AsyncTask.mainThreadFinalizeWork! ()

This execute function will be called from the thread executing the asynchronous task, if “requiresMainThreadFinalizeWork” is true. To be overriden


Boolean AsyncTask.requiresMainThreadFinalizeWork? ()

If it returns true, mainThreadFinalizeWork() function will be called on the main thread after execute() was called.