UNNotificationRequest.FromIdentifier 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.
Crea una nuova richiesta di notifica con gli oggetti , contente triggerspecificatiidentifier.
[Foundation.Export("requestWithIdentifier:content:trigger:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static UserNotifications.UNNotificationRequest FromIdentifier(string identifier, UserNotifications.UNNotificationContent content, UserNotifications.UNNotificationTrigger? trigger);
[<Foundation.Export("requestWithIdentifier:content:trigger:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromIdentifier : string * UserNotifications.UNNotificationContent * UserNotifications.UNNotificationTrigger -> UserNotifications.UNNotificationRequest
Parametri
- identifier
- String
Identificatore, univoco per l'ambito dell'applicazione.
- content
- UNNotificationContent
Contenuto della notifica.
- trigger
- UNNotificationTrigger
Trigger che attiva la notifica quando vengono soddisfatte le condizioni del trigger.
Questo parametro può essere null.
Valori restituiti
Nuova richiesta di notifica.
- Attributi