Skip to main content

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
TypeNameDescription
MatchinghamGames.CharlieModule.Models.NotificationInfonotificationNotification 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
TypeNameDescription
System.Int32idId 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
TypeName
System.Int32id

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
Event Type

MatchinghamGames.CharlieModule.NotificationDelegate