編輯

共用方式為


UNUserNotificationCenter.GetPendingNotificationRequestsAsync Method

Definition

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.

Applies to