LocationSource.OnLocationChangedListener

  • The LocationSource.OnLocationChangedListener interface handles location updates.

  • The onLocationChanged(Location location) method is called when a new user location is known.

  • The onLocationChanged method requires a non-null Location object as a parameter.

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.