public class ReverseGeocodingTask
extends android.os.AsyncTask<java.lang.Void,java.lang.Void,android.location.Address>
Modifier and Type | Class and Description |
---|---|
static interface |
ReverseGeocodingTask.ResultListener |
Constructor and Description |
---|
ReverseGeocodingTask(GeoPoint point,
android.content.Context context) |
ReverseGeocodingTask(GeoPoint point,
android.content.Context context,
boolean toastOnFail) |
Modifier and Type | Method and Description |
---|---|
protected android.location.Address |
doInBackground(java.lang.Void... params) |
android.location.Address |
getAddress() |
java.lang.String |
getHumanAddress() |
GeoPoint |
getPoint() |
protected void |
onPostExecute(android.location.Address result) |
void |
setOnResultListener(ReverseGeocodingTask.ResultListener rl) |
public ReverseGeocodingTask(GeoPoint point, android.content.Context context, boolean toastOnFail)
public ReverseGeocodingTask(GeoPoint point, android.content.Context context)
public void setOnResultListener(ReverseGeocodingTask.ResultListener rl)
public android.location.Address getAddress()
public java.lang.String getHumanAddress()
public GeoPoint getPoint()
protected android.location.Address doInBackground(java.lang.Void... params)
doInBackground
in class android.os.AsyncTask<java.lang.Void,java.lang.Void,android.location.Address>
protected void onPostExecute(android.location.Address result)
onPostExecute
in class android.os.AsyncTask<java.lang.Void,java.lang.Void,android.location.Address>