Home | History | Annotate | Download | only in location

Lines Matching refs:country

20 import android.location.Country;
25 * This class defines the methods need to be implemented by the country
28 * Calling {@link #detectCountry} to start detecting the country. The country
37 protected Country mDetectedCountry;
45 * Start detecting the country that the user is in.
47 * @return the country if it is available immediately, otherwise null should
50 public abstract Country detectCountry();
53 * Register a listener to receive the notification when the country is detected or changed.
62 * Stop detecting the country. The detector should release all system services and be ready to
67 protected void notifyListener(Country country) {
69 mListener.onCountryDetected(country);