coarseLocationEvents
fun LocationManager.coarseLocationEvents(minTimeMs: Long = 1000, minDistanceM: Float = 1.0f): Flow<Location>
Returns a cold flow that emits the device's coarse location updates using LocationManager.NETWORK_PROVIDER (or LocationManager.PASSIVE_PROVIDER if network provider is not available).
The location updates start streaming ONLY when the flow is collected, and stop streaming immediately when the collector cancels or closes the subscription.
Warning: This is a cold flow wrapping a single-listener SDK callback. Concurrently subscribing multiple collectors will result in listener hijacking, and cancelling any observer will unregister the active listener completely. Always share this flow (e.g. using kotlinx.coroutines.flow.shareIn) for multi-observer configurations.