Class PendingNotification
Represents a notification that was scheduled with ScheduleNotification(IGameNotification).
Namespace: NotificationSamples
Syntax
public class PendingNotification
Constructors
PendingNotification(IGameNotification)
Instantiate a new instance of PendingNotification from a IGameNotification.
Declaration
public PendingNotification(IGameNotification notification)
Parameters
Type | Name | Description |
---|---|---|
IGameNotification | notification | The notification to create from. |
Fields
Notification
The scheduled notification.
Declaration
public readonly IGameNotification Notification
Field Value
Type | Description |
---|---|
IGameNotification |
Reschedule
Whether to reschedule this event if it hasn't displayed once the app is foregrounded again.
Declaration
public bool Reschedule
Field Value
Type | Description |
---|---|
Boolean |
Remarks
Only valid if the GameNotificationsManager's Mode flag is set to RescheduleAfterClearing.
Will not function for any notifications that are using a delivery scheduling method that isn't time based, such as iOS location notifications.