UNUserNotificationCenterDelegate.DidReceiveNotificationResponse Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
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