Compartilhar via


WKInterfaceController.HandleLocalNotificationAction Método

Definição

Os desenvolvedores não devem usar esse método preterido. Os desenvolvedores devem usar 'UNUserNotificationCenterDelegate' em vez disso.

[Foundation.Export("handleActionWithIdentifier:forLocalNotification:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UNUserNotificationCenterDelegate' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UNUserNotificationCenterDelegate' instead.")]
public virtual void HandleLocalNotificationAction(string identifier, UIKit.UILocalNotification localNotification);
abstract member HandleLocalNotificationAction : string * UIKit.UILocalNotification -> unit
override this.HandleLocalNotificationAction : string * UIKit.UILocalNotification -> unit

Parâmetros

identifier
String

A ser adicionado.

Esse parâmetro pode ser null.

localNotification
UILocalNotification
Atributos

Aplica-se a