Поделиться через


WKInterfaceController.HandleLocalNotificationAction Метод

Определение

Разработчики не должны использовать этот нерекомендуемый метод. Разработчикам следует использовать вместо него UNUserNotificationCenterDelegate.

[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

Параметры

identifier
String

Будет добавлено.

Этот параметр может иметь значение null.

localNotification
UILocalNotification
Атрибуты

Применяется к