Freigeben über


UIApplicationDelegate_Extensions.DidReceiveRemoteNotification Methode

Definition

Gibt an, dass die App eine Remotebenachrichtigung erhalten hat.

[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

Parameter

This
IUIApplicationDelegate

Die Instanz, auf der diese Erweiterungsmethode ausgeführt wird.

application
UIApplication

Handle to the UIApplication.

userInfo
NSDictionary
completionHandler
Action<UIBackgroundFetchResult>

Rückruf zum Aufrufen, um das Betriebssystem über das Ergebnis des Hintergrundabrufvorgangs zu benachrichtigen.

Attribute

Gilt für: