UNUserNotificationCenter.GetDeliveredNotificationsAsync 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 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.