UIApplication Received Remote Notification(UIApplication, NSDictionary) Delegate.
Received Remote Notification(UIApplication, NSDictionary)
Indicates that the application received a remote notification.
[Foundation.Export("application:didReceiveRemoteNotification:")] [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 virtual void ReceivedRemoteNotification (UIKit.UIApplication application, Foundation.NSDictionary userInfo);
abstract member ReceivedRemoteNotification : UIKit.UIApplication * Foundation.NSDictionary -> unit override this.ReceivedRemoteNotification : UIKit.UIApplication * Foundation.NSDictionary -> unit
Reference to the UIApplication that invoked this delegate method.
A dictionary whose "aps" key contains information related to the notification
userInfo dictionary will have a key
aps that will return another NSDictionary. That dictionary may include the following keys:
|alert||String or NSDictionary||If the value for the |
|badge||Integer||The number to display on the badge of the app icon. If 0, the badge will be removed. If |
|sound||String||The name of a sound file in the app bundle. If the file doesn't exist or the value is "default", the default alert sound will be played.|
|content-available||Integer||A value of 1 indicates that new content is available. This is intended for Newsstand apps and background content downloads.|