IUNNotificationContentExtension.DidReceiveNotification(UNNotification) 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.
Method that is called when the application is sent a notification.
[Foundation.Export("didReceiveNotification:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void DidReceiveNotification(UserNotifications.UNNotification notification);
[<Foundation.Export("didReceiveNotification:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DidReceiveNotification : UserNotifications.UNNotification -> unit
override this.DidReceiveNotification : UserNotifications.UNNotification -> unit
Parameters
- notification
- UNNotification
The notification that was sent.
- Attributes