Editar

Compartir a través de


WKUserNotificationInterfaceController.DidReceiveRemoteNotification Method

Definition

[Foundation.Export("didReceiveRemoteNotification: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 DidReceiveRemoteNotification (Foundation.NSDictionary remoteNotification, Action<WatchKit.WKUserNotificationInterfaceType> completionHandler);
abstract member DidReceiveRemoteNotification : Foundation.NSDictionary * Action<WatchKit.WKUserNotificationInterfaceType> -> unit
override this.DidReceiveRemoteNotification : Foundation.NSDictionary * Action<WatchKit.WKUserNotificationInterfaceType> -> unit

Parameters

remoteNotification
NSDictionary

Deprecated.

completionHandler
Action<WKUserNotificationInterfaceType>

Deprecated.

Attributes

Applies to