DefaultLocationProvider

class DefaultLocationProvider : LocationProvider

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
fun DefaultLocationProvider(context: Context)

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
registerLocationConsumer
Link copied to clipboard
open override fun registerLocationConsumer(locationConsumer: LocationConsumer)
Register the location consumer to the Location Provider.
toString
Link copied to clipboard
open fun toString(): String
unRegisterLocationConsumer
Link copied to clipboard
open override fun unRegisterLocationConsumer(locationConsumer: LocationConsumer)
Unregister the location consumer from the Location Provider.
updatePuckBearingSource
Link copied to clipboard
fun updatePuckBearingSource(source: PuckBearingSource)
Update the data source that drives the bearing updates of the LocationProvider.