Page Summary
-
LocationSource.OnLocationChangedListeneris an interface used to handle location updates. -
It includes the
onLocationChanged()method, which is called when a new user location is available. -
The
onLocationChanged()method receives a non-nullLocationobject as a parameter, representing the new location.
public static interface
LocationSource.OnLocationChangedListener
Handles a location update.
Public Method Summary
| abstract void |
onLocationChanged(Location location)
Called when a new user location is known.
|
Public Methods
public abstract void onLocationChanged (Location location)
Called when a new user location is known.
Parameters
| location | new location. Must not be null.
|
|---|