UNUserNotificationCenter.GetPendingNotificationRequests 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.
Returns an array that contains the pending notification requests, processing them before returning them.
[Foundation.Export("getPendingNotificationRequestsWithCompletionHandler:")]
public virtual void GetPendingNotificationRequests (Action<UserNotifications.UNNotificationRequest[]> completionHandler);
abstract member GetPendingNotificationRequests : Action<UserNotifications.UNNotificationRequest[]> -> unit
override this.GetPendingNotificationRequests : Action<UserNotifications.UNNotificationRequest[]> -> unit
Parameters
- completionHandler
- Action<UNNotificationRequest[]>
An action that takes an array of the pending notification requests and returns void
.
- Attributes