public class GetTrackSearchTask extends android.os.AsyncTask<java.lang.Void,java.lang.Void,java.lang.Boolean> implements TrackProgress, android.content.DialogInterface.OnCancelListener
Modifier and Type | Class and Description |
---|---|
static interface |
GetTrackSearchTask.Callback |
Constructor and Description |
---|
GetTrackSearchTask(android.content.Context context,
java.lang.String callsign,
java.lang.String uid,
long startTime,
long endTime,
GetTrackSearchTask.Callback cb) |
Modifier and Type | Method and Description |
---|---|
boolean |
cancelled() |
protected java.lang.Boolean |
doInBackground(java.lang.Void... params) |
void |
onCancel(android.content.DialogInterface dialog) |
protected void |
onPostExecute(java.lang.Boolean result) |
protected void |
onPreExecute() |
void |
onProgress(int progress) |
public GetTrackSearchTask(android.content.Context context, java.lang.String callsign, java.lang.String uid, long startTime, long endTime, GetTrackSearchTask.Callback cb)
protected void onPreExecute()
onPreExecute
in class android.os.AsyncTask<java.lang.Void,java.lang.Void,java.lang.Boolean>
protected java.lang.Boolean doInBackground(java.lang.Void... params)
doInBackground
in class android.os.AsyncTask<java.lang.Void,java.lang.Void,java.lang.Boolean>
public void onProgress(int progress)
onProgress
in interface TrackProgress
public boolean cancelled()
cancelled
in interface TrackProgress
public void onCancel(android.content.DialogInterface dialog)
onCancel
in interface android.content.DialogInterface.OnCancelListener
protected void onPostExecute(java.lang.Boolean result)
onPostExecute
in class android.os.AsyncTask<java.lang.Void,java.lang.Void,java.lang.Boolean>