WKUserNotificationInterfaceController.DidReceiveRemoteNotification Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deprecated. Developers should use DidReceiveNotification(UNNotification, Action<WKUserNotificationInterfaceType>), instead.
[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