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 l'oggetto , content
e trigger
specificatiidentifier
.
[Foundation.Export("requestWithIdentifier:content:trigger:")]
public static UserNotifications.UNNotificationRequest FromIdentifier (string identifier, UserNotifications.UNNotificationContent content, UserNotifications.UNNotificationTrigger trigger);
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
.
Restituisce
Nuova richiesta di notifica.
- Attributi