共用方式為


UIApplicationDelegate_Extensions.DidReceiveRemoteNotification 方法

定義

表示應用程式收到遠端通知。

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

參數

This
IUIApplicationDelegate

這個擴充方法運作所在的 實例。

application
UIApplication

UIApplication 的控制碼。

userInfo
NSDictionary
completionHandler
Action<UIBackgroundFetchResult>

叫用以通知作業系統背景擷取作業結果的回呼。

屬性

適用於