Modifica

Condividi tramite


UIApplicationDelegate_Extensions.ReceivedRemoteNotification Method

Definition

Indicates that the app received a remote notification.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UNUserNotificationCenterDelegate.WillPresentNotification/DidReceiveNotificationResponse' for user visible notifications and 'ReceivedRemoteNotification' for silent remote notifications.")]
public static void ReceivedRemoteNotification (this UIKit.IUIApplicationDelegate This, UIKit.UIApplication application, Foundation.NSDictionary userInfo);
static member ReceivedRemoteNotification : UIKit.IUIApplicationDelegate * UIKit.UIApplication * Foundation.NSDictionary -> unit

Parameters

This
IUIApplicationDelegate

The instance on which this extension method operates.

application
UIApplication

Reference to the UIApplication that invoked this delegate method.

userInfo
NSDictionary

A dictionary whose "aps" key contains information related to the notification

Attributes

Applies to