public class GeocodeManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
GeocodeManager.Geocoder |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ADDRESS_DIR |
static java.lang.String |
ANDROID_DEFAULT |
Modifier and Type | Method and Description |
---|---|
java.util.List<GeocodeManager.Geocoder> |
getAllGeocoders() |
static GeocodeManager |
getInstance(android.content.Context c)
Returns the instance of the GeocodeManager.
|
GeocodeManager.Geocoder |
getSelectedGeocoder()
Gets the currently selected geocoder.
|
void |
registerGeocoder(GeocodeManager.Geocoder geocoder)
Ability to register a new geocoder to the system.
|
void |
setDefaultGeocoder(java.lang.String uid)
Given a unique identifier, set that to be the default geocoder.
|
void |
unregisterGeocoder(GeocodeManager.Geocoder geocoder)
Ability to remove a geocoder from the system.
|
public static final java.lang.String ANDROID_DEFAULT
public static final java.lang.String ADDRESS_DIR
public static GeocodeManager getInstance(android.content.Context c)
public void registerGeocoder(GeocodeManager.Geocoder geocoder)
geocoder
- the geocoder to registerpublic void unregisterGeocoder(GeocodeManager.Geocoder geocoder)
geocoder
- the geocoder to unregisterpublic GeocodeManager.Geocoder getSelectedGeocoder()
public void setDefaultGeocoder(java.lang.String uid)
uid
- the unique identifierpublic java.util.List<GeocodeManager.Geocoder> getAllGeocoders()