public class FixedLocationProvider extends BaseLocationProvider
| Constructor and Description |
|---|
FixedLocationProvider() |
FixedLocationProvider(Location fixedLocation) |
| Modifier and Type | Method and Description |
|---|---|
Location |
getCurrentLocation()
Request the current (or last) known location.
|
void |
setFixedLocation(Location fixedLocation)
Set the fixed location to report to use.
|
void |
start()
Start the process of acquiring location updates.
|
void |
stop()
Stop the process of acquiring location updates.
|
clearLocationListeners, notifyLocationUpdate, registerLocationListener, unregisterLocationListenerpublic FixedLocationProvider()
public FixedLocationProvider(Location fixedLocation)
public void setFixedLocation(Location fixedLocation)
fixedLocation - public Location getCurrentLocation()
LocationProviderpublic void start()
LocationProviderpublic void stop()
LocationProvider