GpsLocationProvider

class GpsLocationProvider @VisibleForTesting constructor(locationManager: LocationManager, interval: Long, displacement: Float) : DeviceLocationProvider

Constructors

Link copied to clipboard
constructor(context: Context, request: LocationProviderRequest?)
constructor(locationManager: LocationManager, interval: Long, displacement: Float)

Functions

Link copied to clipboard
open override fun addLocationObserver(observer: LocationObserver)
open override fun addLocationObserver(observer: LocationObserver, looper: Looper)
Link copied to clipboard
open override fun getLastLocation(callback: GetLocationCallback): Cancelable
Link copied to clipboard
open fun getName(): String?
Link copied to clipboard
open override fun removeLocationObserver(observer: LocationObserver)
Link copied to clipboard
open override fun removeLocationUpdates(pendingIntent: PendingIntent)
Link copied to clipboard
open override fun requestLocationUpdates(pendingIntent: PendingIntent)