Skip to main content

Interface IActiveNotification

Represents an active notification.

Assembly: Dalamud.dll
Declaration
public interface IActiveNotification : INotification

Properties

Id

Gets the ID of this notification.

Declaration
long Id { get; }

CreatedAt

Gets the time of creating this notification.

Declaration
DateTime CreatedAt { get; }

EffectiveExpiry

Gets the effective expiry time.

Declaration
DateTime EffectiveExpiry { get; }

DismissReason

Gets the reason how this notification got dismissed. null if not dismissed.

Declaration
NotificationDismissReason? DismissReason { get; }

Methods

DismissNow()

Dismisses this notification.

Declaration
void DismissNow()

ExtendBy(TimeSpan)

Extends this notifiation.

Declaration
void ExtendBy(TimeSpan extension)
Parameters
TypeNameDescription
System.TimeSpanextensionThe extension time.

Events

Dismiss

Invoked upon dismissing the notification.

Declaration
event Action<INotificationDismissArgs> Dismiss
Event Type

System.Action<Dalamud.Interface.ImGuiNotification.EventArgs.INotificationDismissArgs>

Click

Invoked upon clicking on the notification.

Declaration
event Action<INotificationClickArgs> Click
Event Type

System.Action<Dalamud.Interface.ImGuiNotification.EventArgs.INotificationClickArgs>

DrawActions

Invoked upon drawing the action bar of the notification.

Declaration
event Action<INotificationDrawArgs> DrawActions
Event Type

System.Action<Dalamud.Interface.ImGuiNotification.EventArgs.INotificationDrawArgs>