UNUserNotificationCenter.GetPendingNotificationRequestsAsync 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.
public virtual System.Threading.Tasks.Task<UserNotifications.UNNotificationRequest[]> GetPendingNotificationRequestsAsync ();
abstract member GetPendingNotificationRequestsAsync : unit -> System.Threading.Tasks.Task<UserNotifications.UNNotificationRequest[]>
override this.GetPendingNotificationRequestsAsync : unit -> System.Threading.Tasks.Task<UserNotifications.UNNotificationRequest[]>
Returns
A task that returns the array that contains the pending notification requests.