Skip to main content

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
TypeName
System.Int32id

ScheduleNotification(NotificationInfo)

Schedules the given notification

Declaration
public 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
public void CancelNotification(int id)
Parameters
TypeNameDescription
System.Int32idId 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
TypeName
System.Int32id

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

Implements