open class BasicLocationSource : AbstractLocationSource
The basic implementation of the LocationSource which relies on the default Android mechanism to obtain location ( via LocationManager ).
BasicLocationSource(context: Context!)
Default constructor to create a basic location source. This constructor uses a default BasicLocationSource(context: Context!, locationRequest: LocationRequest!)
Constructor that allows to provide a custom |
open fun activate(): Unit |
|
open fun deactivate(): Unit |
|
open fun getLastKnownLocation(): Location? |
|
open fun onLocationChanged(location: Location): Unit |
open fun addLocationUpdateListener(locationUpdateListener: LocationUpdateListener?): Unit
{@inheritDoc} |
|
open fun getAllLocationUpdateListeners(): List<LocationUpdateListener>
{@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} |