Class UM_NotificationRequest
An object you use to specify a notification’s content and the condition that triggers its delivery.
Inheritance
Inherited Members
Namespace: SA.CrossPlatform.Notifications
Assembly: cs.temp.dll.dll
Syntax
public class UM_NotificationRequest
Constructors
UM_NotificationRequest(Int32, UM_Notification, UM_iNotificationTrigger)
Declaration
public UM_NotificationRequest(int identifier, UM_Notification content, UM_iNotificationTrigger trigger)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | identifier | |
UM_Notification | content | |
UM_iNotificationTrigger | trigger |
Properties
Content
The content associated with the notification.
Use this property to access the contents of the notification. The content object contains the badge information, sound to be played, or alert text to be displayed to the user, in addition to the notification’s thread identifier.
Declaration
public UM_Notification Content { get; set; }
Property Value
Type | Description |
---|---|
UM_Notification |
Identifier
The unique identifier for this notification request.
Use this string to identify notifications in your app. For example, you can pass this string to the RemovePendingNotification(Int32) method to cancel a previously scheduled notification.
If you use the same identifier when scheduling a new notification, the system removes the previously scheduled notification with that identifier and replaces it with the new one.
Declaration
public int Identifier { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Trigger
The conditions that trigger the delivery of the notification.
For notifications that have already been delivered, use this property to determine what caused the delivery to occur.
Declaration
public UM_iNotificationTrigger Trigger { get; }
Property Value
Type | Description |
---|---|
UM_iNotificationTrigger |