Edytuj

Udostępnij za pośrednictwem


UNUserNotificationCenter.GetDeliveredNotificationsAsync Method

Definition

Returns the delivered notifications that are still in the notification center, processing them before they are returned.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<UserNotifications.UNNotification[]> GetDeliveredNotificationsAsync ();
abstract member GetDeliveredNotificationsAsync : unit -> System.Threading.Tasks.Task<UserNotifications.UNNotification[]>
override this.GetDeliveredNotificationsAsync : unit -> System.Threading.Tasks.Task<UserNotifications.UNNotification[]>

Returns

The delivered notifications that are still in the notification center.

Attributes

Remarks

The GetDeliveredNotificationsAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Applies to