AndroidLocationProvider

Location provider that uses Android's native LocationManager instead of Google Play Services' FusedLocationProviderClient.

This allows the app to run on devices without Google Play Services.

Constructors

Link copied to clipboard
constructor(context: Context)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
var locationFlow: StateFlow<Location?>
Link copied to clipboard
val mutableFilteredLocationFlow: MutableStateFlow<Location?>
Link copied to clipboard
val mutableLocationFlow: MutableStateFlow<Location?>

Functions

Link copied to clipboard
open override fun destroy()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun start(context: Context)
Link copied to clipboard
open fun updateLocation(newLocation: LngLatAlt, heading: Float, speed: Float)