UNUserNotificationCenterDelegate_Extensions.DidReceiveNotificationResponse(IUNUserNotificationCenterDelegate, UNUserNotificationCenter, UNNotificationResponse, Action) UNUserNotificationCenterDelegate_Extensions.DidReceiveNotificationResponse(IUNUserNotificationCenterDelegate, UNUserNotificationCenter, UNNotificationResponse, Action) Method

Definition

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

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static void DidReceiveNotificationResponse (this UserNotifications.IUNUserNotificationCenterDelegate This, UserNotifications.UNUserNotificationCenter center, UserNotifications.UNNotificationResponse response, Action completionHandler);
static member DidReceiveNotificationResponse : UserNotifications.IUNUserNotificationCenterDelegate * UserNotifications.UNUserNotificationCenter * UserNotifications.UNNotificationResponse * Action -> unit

Parameters

This
IUNUserNotificationCenterDelegate IUNUserNotificationCenterDelegate

The instance on which this extension method operates.

center
UNUserNotificationCenter UNUserNotificationCenter

The notification center that received the response.

response
UNNotificationResponse UNNotificationResponse

The user's response.

completionHandler
Action Action

An action that takes no arguments and returns no value.

Applies to