public class GetTrackHistoryTask extends android.os.AsyncTask<java.lang.Void,java.lang.Integer,java.lang.Void> implements TrackProgress, android.content.DialogInterface.OnCancelListener
Modifier and Type | Class and Description |
---|---|
static interface |
GetTrackHistoryTask.Callback |
Constructor and Description |
---|
GetTrackHistoryTask(android.content.Context context,
java.lang.String uid,
boolean bHideTemp,
boolean bDisplayAll,
GetTrackHistoryTask.Callback cb) |
GetTrackHistoryTask(android.content.Context context,
java.lang.String uid,
int[] trackIds,
GetTrackHistoryTask.Callback cb) |
Modifier and Type | Method and Description |
---|---|
boolean |
cancelled() |
protected java.lang.Void |
doInBackground(java.lang.Void... params) |
void |
onCancel(android.content.DialogInterface dialog) |
protected void |
onPostExecute(java.lang.Void aVoid) |
protected void |
onPreExecute() |
void |
onProgress(int p) |
protected void |
onProgressUpdate(java.lang.Integer... values) |
public GetTrackHistoryTask(android.content.Context context, java.lang.String uid, boolean bHideTemp, boolean bDisplayAll, GetTrackHistoryTask.Callback cb)
public GetTrackHistoryTask(android.content.Context context, java.lang.String uid, int[] trackIds, GetTrackHistoryTask.Callback cb)
protected void onPreExecute()
onPreExecute
in class android.os.AsyncTask<java.lang.Void,java.lang.Integer,java.lang.Void>
protected java.lang.Void doInBackground(java.lang.Void... params)
doInBackground
in class android.os.AsyncTask<java.lang.Void,java.lang.Integer,java.lang.Void>
public void onProgress(int p)
onProgress
in interface TrackProgress
protected void onProgressUpdate(java.lang.Integer... values)
onProgressUpdate
in class android.os.AsyncTask<java.lang.Void,java.lang.Integer,java.lang.Void>
public void onCancel(android.content.DialogInterface dialog)
onCancel
in interface android.content.DialogInterface.OnCancelListener
public boolean cancelled()
cancelled
in interface TrackProgress
protected void onPostExecute(java.lang.Void aVoid)
onPostExecute
in class android.os.AsyncTask<java.lang.Void,java.lang.Integer,java.lang.Void>