次の方法で共有


UIApplicationDelegate_Extensions.PerformFetch メソッド

定義

ダウンロードするデータがある場合に、アプリケーションがフェッチ操作を開始できることを示します。

[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

パラメーター

This
IUIApplicationDelegate

この拡張メソッドが動作するインスタンス。

application
UIApplication

UIApplication を処理します。

completionHandler
Action<UIBackgroundFetchResult>

バックグラウンド フェッチ操作の結果をオペレーティング システムに通知するために呼び出すコールバック。

属性

適用対象