fusedLocationEvents
@RequiresPermission(anyOf = ["android.permission.ACCESS_COARSE_LOCATION", "android.permission.ACCESS_FINE_LOCATION"] )
Simplified helper returning a cold flow that emits device location updates from FusedLocationProviderClient.
Parameters
intervalMs
The desired interval for location updates in milliseconds. Defaults to 2000 ms.
minUpdateDistanceM
The minimum distance between location updates in meters. Defaults to 1 meter.
priority
The location priority accuracy mode. Defaults to Priority.PRIORITY_HIGH_ACCURACY.
looper
The Looper on which the callback runs. Defaults to Looper.getMainLooper().