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