Methods Summary |
---|
public abstract android.location.Country | detectCountry()Start detecting the country that the user is in.
|
protected void | notifyListener(android.location.Country country)
if (mListener != null) {
mListener.onCountryDetected(country);
}
|
public void | setCountryListener(android.location.CountryListener listener)Register a listener to receive the notification when the country is detected or changed.
The previous listener will be replaced if it exists.
mListener = listener;
|
public abstract void | stop()Stop detecting the country. The detector should release all system services and be ready to
be freed
|