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