/tripkit/TripKitAndroidUIData/com.skedgo.tripkit.ui.data.location/RxFusedLocationProviderClient/requestLocationUpdates

requestLocationUpdates

\ open fun requestLocationUpdates(request: LocationRequest): Flowable<LocationUpdates>

Streams LocationUpdates via FusedLocationProviderClient.requestLocationUpdates. Disposing the subscription calls removeLocationUpdates and sets an AtomicBoolean cancellation flag before the removal request, so any in-flight GMS callbacks arriving during the async removal window are silently dropped.

Parameters

androidJvm

request Frequency and accuracy parameters for location updates.

See also

The Tasks API