Class NullNotificationPlatform
Declaration
public class NullNotificationPlatform : INotificationPlatform
Implements:
MatchinghamGames.CharlieModule.INotificationPlatform
Properties
Instance
Declaration
public static NullNotificationPlatform Instance { get; }
Methods
Initialize()
Declaration
public void Initialize()
CancelAllScheduledNotifications()
Cancels all scheduled notifications
Declaration
public void CancelAllScheduledNotifications()
CancelScheduledNotification(int)
Declaration
public void CancelScheduledNotification(int id)
Parameters
Type | Name |
---|---|
System.Int32 | id |
ScheduleNotification(NotificationInfo)
Schedules the given notification
Declaration
public void ScheduleNotification(NotificationInfo notification)
Parameters
Type | Name | Description |
---|---|---|
MatchinghamGames.CharlieModule.Models.NotificationInfo | notification | Notification to be scheduled |
CancelNotification(int)
Cancels a previously scheduled or shown notification. If shown, it will be removed from the status bar
Declaration
public void CancelNotification(int id)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | id | Id of the notification to be canceled |
ValidateNotification(int)
Validates if the given notification is scheduled.
Declaration
public bool ValidateNotification(int id)
Returns
System.Boolean
: Scheduled status
Parameters
Type | Name |
---|---|
System.Int32 | id |
CancelAllDeliveredNotifications()
Cancels all delivered (displayed in notification center) notifications
Declaration
public void CancelAllDeliveredNotifications()
Dispose()
Declaration
public void Dispose()
Events
NotificationReceived
Declaration
public event NotificationDelegate NotificationReceived
Event Type
MatchinghamGames.CharlieModule.NotificationDelegate
NotificationClicked
Declaration
public event NotificationDelegate NotificationClicked
Event Type
MatchinghamGames.CharlieModule.NotificationDelegate