Interface IActiveNotification
Represents an active notification.
Assembly: Dalamud.dll
View Source
Declaration
public interface IActiveNotification : INotification
Properties
Id
Gets the ID of this notification.
View Source
Declaration
long Id { get; }
CreatedAt
Gets the time of creating this notification.
View Source
Declaration
DateTime CreatedAt { get; }
EffectiveExpiry
Gets the effective expiry time.
View Source
Declaration
DateTime EffectiveExpiry { get; }
DismissReason
Gets the reason how this notification got dismissed. null
if not dismissed.
View Source
Declaration
NotificationDismissReason? DismissReason { get; }
Methods
DismissNow()
Dismisses this notification.
View Source
Declaration
void DismissNow()
ExtendBy(TimeSpan)
Extends this notifiation.
View Source
Declaration
void ExtendBy(TimeSpan extension)
Parameters
Type | Name | Description |
---|---|---|
System.TimeSpan | extension | The extension time. |
Events
Dismiss
Invoked upon dismissing the notification.
View Source
Declaration
event Action<INotificationDismissArgs> Dismiss
Event Type
System.Action<Dalamud.Interface.ImGuiNotification.EventArgs.INotificationDismissArgs>
Click
Invoked upon clicking on the notification.
View Source
Declaration
event Action<INotificationClickArgs> Click
Event Type
System.Action<Dalamud.Interface.ImGuiNotification.EventArgs.INotificationClickArgs>
DrawActions
Invoked upon drawing the action bar of the notification.
View Source
Declaration
event Action<INotificationDrawArgs> DrawActions
Event Type
System.Action<Dalamud.Interface.ImGuiNotification.EventArgs.INotificationDrawArgs>