Methods Summary |
---|
public Location | getCurrLocation()Return the current location.
return currLocation;
|
public int | getCurrState()Return the current state.
return currState;
|
public void | locationUpdated(LocationProvider provider, Location location)locationUpdated implementation.
currLocation = location; // save the location
|
public void | providerStateChanged(LocationProvider provider, int newState)providerStateChanged implementation.
currState = newState; // save the location
|
public void | setCurrLocation(Location newLocation)Sets the current location.
currLocation = newLocation;
|
public void | setCurrState(int newState)Sets the current state.
currState = newState;
|