removeLocationUpdates

abstract fun removeLocationUpdates(pendingIntent: PendingIntent)

Removes location updates for the given pending intent. It is recommended to remove location requests when the activity is in a paused or stopped state, doing so helps reducing battery consumption.

Parameters

pendingIntent

PendingIntent to remove.