UNUserNotificationCenterDelegate_Extensions Class

Definition

Extension methods to the IUNUserNotificationCenterDelegate interface to support all the methods from the UNUserNotificationCenterDelegate protocol.

public static class UNUserNotificationCenterDelegate_Extensions
type UNUserNotificationCenterDelegate_Extensions = class
Inheritance
UNUserNotificationCenterDelegate_Extensions

Remarks

The extension methods for IUNUserNotificationCenterDelegate allow developers to treat instances of the interface as having all the optional methods of the original UNUserNotificationCenterDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

DidReceiveNotificationResponse(IUNUserNotificationCenterDelegate, UNUserNotificationCenter, UNNotificationResponse, Action)

Called when the user selects an action from a notification from the app.

OpenSettings(IUNUserNotificationCenterDelegate, UNUserNotificationCenter, UNNotification)

Called to open the in-app notification settings.

WillPresentNotification(IUNUserNotificationCenterDelegate, UNUserNotificationCenter, UNNotification, Action<UNNotificationPresentationOptions>)

Called to deliver a notification to an application that is running in the foreground.

Applies to