public abstract class BaseLocationProvider extends Object implements LocationProvider
| Constructor and Description |
|---|
BaseLocationProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearLocationListeners()
Remove all listeners for location updates.
|
protected void |
notifyLocationUpdate(Location location) |
void |
registerLocationListener(LocationListener locationListener)
Register a listener for location updates.
|
void |
unregisterLocationListener(LocationListener locationListener)
Unregister a listener for location updates.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCurrentLocation, start, stoppublic void registerLocationListener(LocationListener locationListener)
LocationProviderregisterLocationListener in interface LocationProviderpublic void unregisterLocationListener(LocationListener locationListener)
LocationProviderunregisterLocationListener in interface LocationProviderpublic void clearLocationListeners()
LocationProviderclearLocationListeners in interface LocationProviderprotected void notifyLocationUpdate(Location location)