public abstract class SocialIdAsyncTask<T>
extends android.os.AsyncTask<java.lang.Void,java.lang.Void,java.lang.Object>
Constructor and Description |
---|
SocialIdAsyncTask(SocialIdCallback<T> callback) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
doInBackground(java.lang.Void... v)
Override this method to perform a computation on a background thread.
|
protected abstract T |
doInForeground() |
protected void |
onPostExecute(java.lang.Object result)
Runs on the UI thread after
AsyncTask.doInBackground(Params...) . |
public SocialIdAsyncTask(SocialIdCallback<T> callback)
protected java.lang.Object doInBackground(java.lang.Void... v)
android.os.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 android.os.AsyncTask<java.lang.Void,java.lang.Void,java.lang.Object>
v
- The parameters of the task.AsyncTask.onPreExecute()
,
AsyncTask.onPostExecute(Result)
,
AsyncTask.publishProgress(Progress...)
protected void onPostExecute(java.lang.Object result)
android.os.AsyncTask
Runs on the UI thread after AsyncTask.doInBackground(Params...)
. The
specified result is the value returned by AsyncTask.doInBackground(Params...)
.
This method won't be invoked if the task was cancelled.
onPostExecute
in class android.os.AsyncTask<java.lang.Void,java.lang.Void,java.lang.Object>
result
- The result of the operation computed by AsyncTask.doInBackground(Params...)
.AsyncTask.onPreExecute()
,
AsyncTask.doInBackground(Params...)
,
AsyncTask.onCancelled(Object)
protected abstract T doInForeground() throws java.io.IOException, com.coffeebeantech.socialidapi.exceptions.SocialIdApiException
java.io.IOException
com.coffeebeantech.socialidapi.exceptions.SocialIdApiException