WKInterfaceController.HandleAction(String, UNNotification) Method

Definition

Method that is called to deliver notification payloads and actions to the interface controller.

[Foundation.Export("handleActionWithIdentifier:forNotification:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void HandleAction (string identifier, UserNotifications.UNNotification notification);
abstract member HandleAction : string * UserNotifications.UNNotification -> unit
override this.HandleAction : string * UserNotifications.UNNotification -> unit

Parameters

identifier
String

To be added.

This parameter can be null.

notification
UNNotification
Attributes

Applies to