UNUserNotificationCenter.GetDeliveredNotifications Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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