14.1 Beta 1 SDK
IPluginNotification14.1 Beta
public interface Unbroken.LaunchBox.Plugins.Notifications.IPluginNotification
Represents a notification published through Unbroken.LaunchBox.Plugins.Notifications.INotificationManager. Added in LaunchBox 14.1.
Properties
System.DateTimeOffset DateRaised { get; }bool IsDismissed { get; }bool IsRead { get; }string Message { get; }Unbroken.LaunchBox.Plugins.Notifications.PluginNotificationSeverity Severity { get; }
DateRaised 14.1 Beta
System.DateTimeOffset DateRaised { get; }
Gets the date and time when the notification was raised.
IsDismissed 14.1 Beta
bool IsDismissed { get; }
Gets whether the notification has been dismissed or removed by the retention policy.
IsRead 14.1 Beta
bool IsRead { get; }
Gets whether the notification has been marked as read.
Message 14.1 Beta
string Message { get; }
Gets the message currently displayed by the notification.
Severity 14.1 Beta
Unbroken.LaunchBox.Plugins.Notifications.PluginNotificationSeverity Severity { get; }
Gets the current notification severity.
Methods
DismissAsync 14.1 Beta
System.Threading.Tasks.Task DismissAsync(System.Threading.CancellationToken cancellationToken)
Removes the notification. Repeated calls have no effect.
cancellationToken14.1 Beta- A token used to cancel the operation.