Freigeben über


UNUserNotificationCenterDelegate.DidReceiveNotificationResponse Methode

Definition

Wird aufgerufen, nachdem der Benutzer eine Aktion aus einer Benachrichtigung aus der App ausgewählt hat.

[Foundation.Export("userNotificationCenter:didReceiveNotificationResponse:withCompletionHandler:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DidReceiveNotificationResponse (UserNotifications.UNUserNotificationCenter center, UserNotifications.UNNotificationResponse response, Action completionHandler);
abstract member DidReceiveNotificationResponse : UserNotifications.UNUserNotificationCenter * UserNotifications.UNNotificationResponse * Action -> unit
override this.DidReceiveNotificationResponse : UserNotifications.UNUserNotificationCenter * UserNotifications.UNNotificationResponse * Action -> unit

Parameter

center
UNUserNotificationCenter

Das Benachrichtigungscenter, das die Antwort empfangen hat.

response
UNNotificationResponse

Die Antwort des Benutzers.

completionHandler
Action

Eine Aktion, die keine Argumente akzeptiert und keinen Wert zurückgibt.

Attribute

Gilt für: