Edytuj

Udostępnij za pośrednictwem


UNUserNotificationCenterDelegate_Extensions.DidReceiveNotificationResponse 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

The instance on which this extension method operates.

center
UNUserNotificationCenter

The notification center that received the response.

response
UNNotificationResponse

The user's response.

completionHandler
Action

An action that takes no arguments and returns no value.

Attributes

Applies to