Android.Locations.LocationManager.RemoveUpdates Method
Removes all location updates for the specified pending intent.

Syntax

[Android.Runtime.Register("removeUpdates", "(Landroid/app/PendingIntent;)V", "GetRemoveUpdates_Landroid_app_PendingIntent_Handler")]
public virtual void RemoveUpdates (Android.App.PendingIntent intent)

Parameters

intent
pending intent object that no longer needs location updates

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif intent is null

Remarks

Removes all location updates for the specified pending intent.

Following this call, updates will no longer for this pending intent.

[Android Documentation]

Requirements

Namespace: Android.Locations
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3