Package com.aerisweather.aeris.location
Class SingleLocationTask
-
- All Implemented Interfaces:
SingleLocationObserver
public class SingleLocationTask extends android.os.AsyncTask<String,Void,Void> implements SingleLocationObserver
-
-
Constructor Summary
Constructors Constructor Description SingleLocationTask(LocationHelper locHelper, SingleLocationObserver observer, android.content.Context context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Void
doInBackground(String... args)
protected void
onCancelled()
protected void
onPostExecute(Void unused)
protected void
onPreExecute()
void
updateReceivedLocation()
-
-
-
Constructor Detail
-
SingleLocationTask
public SingleLocationTask(LocationHelper locHelper, SingleLocationObserver observer, android.content.Context context)
-
-
Method Detail
-
onPreExecute
protected void onPreExecute()
-
onCancelled
protected void onCancelled()
-
onPostExecute
protected void onPostExecute(Void unused)
-
updateReceivedLocation
public void updateReceivedLocation()
- Specified by:
updateReceivedLocation
in interfaceSingleLocationObserver
-
-