Share via


UNUserNotificationCenterDelegate_Extensions.DidReceiveNotificationResponse Método

Definición

Se llama cuando el usuario selecciona una acción de una notificación de la aplicación.

[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

Parámetros

This
IUNUserNotificationCenterDelegate

Instancia en la que opera este método de extensión.

center
UNUserNotificationCenter

Centro de notificaciones que recibió la respuesta.

response
UNNotificationResponse

Respuesta del usuario.

completionHandler
Action

Acción que no toma ningún argumento y no devuelve ningún valor.

Atributos

Se aplica a