requestLocationUpdates

@RequiresPermission(anyOf = [])
open fun requestLocationUpdates(@NonNull locationManager: @NonNull LocationManager, @NonNull provider: @NonNull String, @NonNull locationRequest: @NonNull LocationRequestCompat, @NonNull executor: @NonNull Executor, @NonNull listener: @NonNull LocationListenerCompat)(source)

Register for location updates from the specified provider, using a LocationRequestCompat, and a callback on the specified Executor.

See requestLocationUpdates for more information.


@RequiresPermission(anyOf = [])
open fun requestLocationUpdates(@NonNull locationManager: @NonNull LocationManager, @NonNull provider: @NonNull String, @NonNull locationRequest: @NonNull LocationRequestCompat, @NonNull listener: @NonNull LocationListenerCompat, @NonNull looper: @NonNull Looper)(source)

Register for location updates from the specified provider, using a LocationRequestCompat, and a callback on the specified Looper.

See requestLocationUpdates for more information.