UIApplicationDelegate.HandleAction メソッド

定義

オーバーロード

HandleAction(UIApplication, String, NSDictionary, Action)

プッシュ通知に基づいて実行するカスタム アクションをアプリに通知し actionIdentifier 、その値、通知からのデータ、 remoteNoticationInfo および completionHandler アクションの実行後にアプリ開発者が実行できるようにします。

HandleAction(UIApplication, String, UILocalNotification, Action)

ユーザーがオブジェクトのアラートから値によって actionIdentifier 識別されたアクションを選択し、アクションの UILocalNotification 完了後にブロックを completionHandler 実行することをアプリに通知します。

HandleAction(UIApplication, String, NSDictionary, NSDictionary, Action)

リモート通知に基づいて実行するカスタム アクションをアプリに通知し actionIdentifier 、その値、 remoteNoticationInfo 通知からのデータ、および completionHandler アクションの実行後にアプリ開発者が実行できるようにします。

HandleAction(UIApplication, String, UILocalNotification, NSDictionary, Action)

ローカル通知に基づいて実行するカスタム アクションをアプリに通知し actionIdentifier 、その値、通知からのデータ、 responseInfo および completionHandler アクションの実行後にアプリ開発者が実行できるようにします。

HandleAction(UIApplication, String, NSDictionary, Action)

プッシュ通知に基づいて実行するカスタム アクションをアプリに通知し actionIdentifier 、その値、通知からのデータ、 remoteNoticationInfo および completionHandler アクションの実行後にアプリ開発者が実行できるようにします。

[Foundation.Export("application:handleActionWithIdentifier:forRemoteNotification:completionHandler:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UNUserNotificationCenterDelegate.DidReceiveNotificationResponse' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void HandleAction (UIKit.UIApplication application, string actionIdentifier, Foundation.NSDictionary remoteNotificationInfo, Action completionHandler);
abstract member HandleAction : UIKit.UIApplication * string * Foundation.NSDictionary * Action -> unit
override this.HandleAction : UIKit.UIApplication * string * Foundation.NSDictionary * Action -> unit

パラメーター

application
UIApplication
actionIdentifier
String
remoteNotificationInfo
NSDictionary
completionHandler
Action
属性

適用対象

HandleAction(UIApplication, String, UILocalNotification, Action)

ユーザーがオブジェクトのアラートから値によって actionIdentifier 識別されたアクションを選択し、アクションの UILocalNotification 完了後にブロックを completionHandler 実行することをアプリに通知します。

[Foundation.Export("application:handleActionWithIdentifier:forLocalNotification:completionHandler:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UNUserNotificationCenterDelegate.DidReceiveNotificationResponse' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void HandleAction (UIKit.UIApplication application, string actionIdentifier, UIKit.UILocalNotification localNotification, Action completionHandler);
abstract member HandleAction : UIKit.UIApplication * string * UIKit.UILocalNotification * Action -> unit
override this.HandleAction : UIKit.UIApplication * string * UIKit.UILocalNotification * Action -> unit

パラメーター

application
UIApplication
actionIdentifier
String
localNotification
UILocalNotification
completionHandler
Action
属性

適用対象

HandleAction(UIApplication, String, NSDictionary, NSDictionary, Action)

リモート通知に基づいて実行するカスタム アクションをアプリに通知し actionIdentifier 、その値、 remoteNoticationInfo 通知からのデータ、および completionHandler アクションの実行後にアプリ開発者が実行できるようにします。

[Foundation.Export("application:handleActionWithIdentifier:forRemoteNotification:withResponseInfo:completionHandler:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UNUserNotificationCenterDelegate.DidReceiveNotificationResponse' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void HandleAction (UIKit.UIApplication application, string actionIdentifier, Foundation.NSDictionary remoteNotificationInfo, Foundation.NSDictionary responseInfo, Action completionHandler);
abstract member HandleAction : UIKit.UIApplication * string * Foundation.NSDictionary * Foundation.NSDictionary * Action -> unit
override this.HandleAction : UIKit.UIApplication * string * Foundation.NSDictionary * Foundation.NSDictionary * Action -> unit

パラメーター

application
UIApplication
actionIdentifier
String
remoteNotificationInfo
NSDictionary
responseInfo
NSDictionary
completionHandler
Action
属性

適用対象

HandleAction(UIApplication, String, UILocalNotification, NSDictionary, Action)

ローカル通知に基づいて実行するカスタム アクションをアプリに通知し actionIdentifier 、その値、通知からのデータ、 responseInfo および completionHandler アクションの実行後にアプリ開発者が実行できるようにします。

[Foundation.Export("application:handleActionWithIdentifier:forLocalNotification:withResponseInfo:completionHandler:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UNUserNotificationCenterDelegate.DidReceiveNotificationResponse' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void HandleAction (UIKit.UIApplication application, string actionIdentifier, UIKit.UILocalNotification localNotification, Foundation.NSDictionary responseInfo, Action completionHandler);
abstract member HandleAction : UIKit.UIApplication * string * UIKit.UILocalNotification * Foundation.NSDictionary * Action -> unit
override this.HandleAction : UIKit.UIApplication * string * UIKit.UILocalNotification * Foundation.NSDictionary * Action -> unit

パラメーター

application
UIApplication
actionIdentifier
String
localNotification
UILocalNotification
responseInfo
NSDictionary
completionHandler
Action
属性

適用対象