次の方法で共有


CPApplicationDelegate.ReceivedRemoteNotification メソッド

定義

アプリがリモート通知を受信したことを示します。

[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

パラメーター

application
UIApplication

このデリゲート メソッドを呼び出した UIApplication への参照。

userInfo
NSDictionary

"aps" キーに通知に関連する情報が含まれているディクショナリ

属性

適用対象