UIKit.UIApplication.SetMinimumBackgroundFetchInterval Method
Activates backgound fetching.

Syntax

[Foundation.Export("setMinimumBackgroundFetchInterval:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_7_0)]
public virtual void SetMinimumBackgroundFetchInterval (double minimumBackgroundFetchInterval)

Parameters

minimumBackgroundFetchInterval
The desired minimum background fetch interval. This constant UIApplication.BackgroundFetchIntervalMinimum cane be used to set the minimum update interval or UIApplication.BackgroundFetchIntervalNever) to disable background fetching.

Remarks

This method can be used to enable or disable background fetching. When this is enabled, the operating system will call the application's delegate UIApplicationDelegate.PerformFetch method at the discretion of the operating system to allow the application to download and request data from a server.

This requires that the application has the background fetch entitlement activated.

Requirements

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