WatchKit.WKInterfaceController.HandleLocalNotificationAction Method
Called on the Watch App's initial WatchKit.WKInterfaceController when the user reacts to a local notification.

Syntax

[Foundation.Export("handleActionWithIdentifier:forLocalNotification:")]
public virtual void HandleLocalNotificationAction (string identifier, UIKit.UILocalNotification localNotification)

Parameters

identifier
The action chosen by the user, or an empty string if the user launched the app without using an action button.
localNotification
The notification.

Remarks

This method is called on the WatchKit.WKInterfaceController that is the initial one in the Watch App storyboard, not the WatchKit.WKInterfaceController that displays notifications.

This method is called on the Watch Extension's main thread.

Requirements

Namespace: WatchKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0