Edit

Share via


UNUserNotificationCenter.GetPendingNotificationRequests Method

Definition

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

Applies to