UNUserNotificationCenterDelegate.DidReceiveNotificationResponse Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called after the user selects an action from a notification from the app.
[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
Parameters
- 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