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>

调用以通知操作系统后台提取操作结果的回调。

属性

适用于