Interface INotificationPlatform
Declaration
public interface INotificationPlatform
Methods
CancelAllScheduledNotifications()
Cancels all scheduled notifications
Declaration
void CancelAllScheduledNotifications()
ScheduleNotification(NotificationInfo)
Schedules the given notification
Declaration
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
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
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
void CancelAllDeliveredNotifications()
Events
NotificationReceived
Declaration
event NotificationDelegate NotificationReceived
Event Type
MatchinghamGames.CharlieModule.NotificationDelegate
NotificationClicked
Declaration
event NotificationDelegate NotificationClicked