abstract class AbstractLocationSource : LocationSource, LocationListener
Base class for all LocationSources. It contains the listeners list and propagate onLocationChange events to added listeners.
| AbstractLocationSource()Base class for all LocationSources. It contains the listeners list and propagate onLocationChange events to added listeners. | 
| open fun addLocationUpdateListener(locationUpdateListener: LocationUpdateListener?): Unit{@inheritDoc} | |
| open fun getAllLocationUpdateListeners(): List<LocationUpdateListener>{@inheritDoc} | |
| open fun onLocationChanged(location: Location): Unit{@inheritDoc} | |
| open fun onProviderDisabled(provider: String): Unit{@inheritDoc} | |
| open fun onProviderEnabled(provider: String): Unit{@inheritDoc} | |
| open fun onStatusChanged(provider: String, status: Int, extras: Bundle): Unit{@inheritDoc} | |
| open fun removeAllLocationUpdateListeners(): Unit{@inheritDoc} | |
| open fun removeLocationUpdateListener(locationUpdateListener: LocationUpdateListener): Unit{@inheritDoc} | 
| abstract fun activate(): UnitActivates the provider. The provider will notify the listener periodically, until the user calls deactivate(). | |
| abstract fun deactivate(): UnitDeactivates this provider. The provider does not send any location notifications. | |
| abstract fun getLastKnownLocation(): Location?Last valid location of the user. The value can be null. | 
| open class BasicLocationSource : AbstractLocationSourceThe basic implementation of the LocationSource which relies on the default Android mechanism to obtain location ( via LocationManager ). |