Condividi tramite


UNUserNotificationCenter.GetDeliveredNotifications Metodo

Definizione

Restituisce le notifiche recapitate ancora nel Centro notifiche, elaborandole prima che vengano restituite.

[Foundation.Export("getDeliveredNotificationsWithCompletionHandler:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void GetDeliveredNotifications (Action<UserNotifications.UNNotification[]> completionHandler);
abstract member GetDeliveredNotifications : Action<UserNotifications.UNNotification[]> -> unit
override this.GetDeliveredNotifications : Action<UserNotifications.UNNotification[]> -> unit

Parametri

completionHandler
Action<UNNotification[]>

Azione che esegue una matrice delle notifiche recapitate e restituisce void.

Attributi

Si applica a