AsyncTask.Status
SERIAL_EXECUTOR, THREAD_POOL_EXECUTOR
Constructor and Description |
---|
AsyncEmergencyContactNotifier(Context context) |
Modifier and Type | Method and Description |
---|---|
protected Void |
doInBackground(Void... params)
Override this method to perform a computation on a background thread.
|
cancel, execute, execute, executeOnExecutor, get, get, getStatus, isCancelled, onCancelled, onCancelled, onPostExecute, onPreExecute, onProgressUpdate, publishProgress, setDefaultExecutor
public AsyncEmergencyContactNotifier(Context context)
protected Void doInBackground(Void... params)
AsyncTask
AsyncTask.execute(Params...)
by the caller of this task.
This method can call AsyncTask.publishProgress(Progress...)
to publish updates
on the UI thread.doInBackground
in class AsyncTask<Void,Void,Void>
params
- The parameters of the task.AsyncTask.onPreExecute()
,
AsyncTask.onPostExecute(Result)
,
AsyncTask.publishProgress(Progress...)