UNUserNotificationCenterDelegate_Extensions.WillPresentNotification Method
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.
Called to deliver a notification to an application that is running in the foreground.
public static void WillPresentNotification (this UserNotifications.IUNUserNotificationCenterDelegate This, UserNotifications.UNUserNotificationCenter center, UserNotifications.UNNotification notification, Action<UserNotifications.UNNotificationPresentationOptions> completionHandler);
static member WillPresentNotification : UserNotifications.IUNUserNotificationCenterDelegate * UserNotifications.UNUserNotificationCenter * UserNotifications.UNNotification * Action<UserNotifications.UNNotificationPresentationOptions> -> unit
The instance on which this extension method operates.
- center
- UNUserNotificationCenter
The notification center that received the response.
- notification
- UNNotification
The notification.
- completionHandler
- Action<UNNotificationPresentationOptions>
An action that takes no arguments and returns no value.