UNNotificationRequest.FromIdentifier Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Crea una nueva solicitud de notificación con el especificado identifier
, content
y trigger
.
[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
Parámetros
- identifier
- String
Un identificador, único para el ámbito de la aplicación.
- content
- UNNotificationContent
Contenido de la notificación.
- trigger
- UNNotificationTrigger
Desencadenador que activa la notificación cuando se cumplen las condiciones del desencadenador.
Este parámetro puede ser null
.
Devoluciones
Nueva solicitud de notificación.
- Atributos