UIApplicationDelegate_Extensions.PerformFetch Method

Definition

Indicates that the application can begin a fetch operation if it has data to download.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void PerformFetch (this UIKit.IUIApplicationDelegate This, UIKit.UIApplication application, Action<UIKit.UIBackgroundFetchResult> completionHandler);
static member PerformFetch : UIKit.IUIApplicationDelegate * UIKit.UIApplication * Action<UIKit.UIBackgroundFetchResult> -> unit

Parameters

This
IUIApplicationDelegate

The instance on which this extension method operates.

application
UIApplication

Handle to the UIApplication.

completionHandler
Action<UIBackgroundFetchResult>

Callback to invoke to notify the operating system of the result of the background fetch operation.

Attributes

Applies to