Default Location Provider
Default Location Provider implementation that produces location updates according to the device's GPS or magnetic field sensor data.
Constructors
DefaultLocationProvider
Link copied to clipboard
Functions
add On Compass Calibration Listener
Link copied to clipboard
fun addOnCompassCalibrationListener(listener: LocationCompassCalibrationListener)
Content copied to clipboard
Register a listener to be invoked when compass needs to be calibrated.
register Location Consumer
Link copied to clipboard
open override fun registerLocationConsumer(locationConsumer: LocationConsumer)
Content copied to clipboard
Register the location consumer to the Location Provider.
remove Compass Calibration Listener
Link copied to clipboard
fun removeCompassCalibrationListener(listener: LocationCompassCalibrationListener)
Content copied to clipboard
Unregister a listener to be invoked when compass needs to be calibrated.
un Register Location Consumer
Link copied to clipboard
open override fun unRegisterLocationConsumer(locationConsumer: LocationConsumer)
Content copied to clipboard
Unregister the location consumer from the Location Provider.
update Puck Bearing Source
Link copied to clipboard
Update the data source that drives the bearing updates of the LocationProvider.