Bearbeiten

Freigeben über


WKUserNotificationInterfaceController.DidReceiveLocalNotification Method

Definition

[Foundation.Export("didReceiveLocalNotification:withCompletion:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'DidReceiveNotification' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'DidReceiveNotification' instead.")]
public virtual void DidReceiveLocalNotification (UIKit.UILocalNotification localNotification, Action<WatchKit.WKUserNotificationInterfaceType> completionHandler);
abstract member DidReceiveLocalNotification : UIKit.UILocalNotification * Action<WatchKit.WKUserNotificationInterfaceType> -> unit
override this.DidReceiveLocalNotification : UIKit.UILocalNotification * Action<WatchKit.WKUserNotificationInterfaceType> -> unit

Parameters

localNotification
UILocalNotification
Attributes

Applies to