CoreLocation.CLLocationManager.AllowDeferredLocationUpdatesUntil Method
Suggests that location updates are deferred until either distance has been traveled or timeout has passed.

Syntax

[Foundation.Export("allowDeferredLocationUpdatesUntilTraveled:timeout:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_6_0)]
public virtual void AllowDeferredLocationUpdatesUntil (double distance, double timeout)

Parameters

distance
A distance, in meters, after which location updates should be delivered.
timeout
A time, in seconds, after which location updates should be delivered.

Remarks

Application developers must implement CoreLocation.CLLocationManagerDelegate and assign the CLLocationManager.Delegate property prior to calling this method, or they will receive a runtime exception.

Application developers who require GPS-accurate location information when their application is in the background, but do not need that information in near-real-time should use this method to defer delivery. Deferred delivery consumes significantly less power.

This method is only a request. Location updates may occur even if the application is in deferred mode. If updates occur when the application is in deferred mode, the application will stay in deferred mode.

If the application is in the foreground, location updates are not delayed.

This method requires GPS hardware to be available, CLLocationManager.DistanceFilter to be CLLocationDistance.None, and CLLocationManager.DesiredAccuracy be either CLLocation.AccuracyBest or CLLocation.AccuracyBestForNavigation.

Requirements

Namespace: CoreLocation
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0