Skip to main content

Interface INotification

Represents a notification.

Assembly: Dalamud.dll
View Source
Declaration
public interface INotification

Properties

Content

Gets or sets the content body of the notification.

View Source
Declaration
string Content { get; set; }

Title

Gets or sets the title of the notification.

View Source
Declaration
string? Title { get; set; }

MinimizedText

Gets or sets the text to display when the notification is minimized.

View Source
Declaration
string? MinimizedText { get; set; }

Type

Gets or sets the type of the notification.

View Source
Declaration
NotificationType Type { get; set; }

Icon

Gets or sets the icon source, in case Dalamud.Interface.ImGuiNotification.INotification.IconTextureTask is not set or the task has faulted.

View Source
Declaration
INotificationIcon? Icon { get; set; }

IconTexture

Gets or sets a texture wrap that will be used in place of Dalamud.Interface.ImGuiNotification.INotification.Icon if set.

View Source
Declaration
IDalamudTextureWrap? IconTexture { get; set; }

IconTextureTask

Gets or sets a task that results in a texture wrap that will be used in place of Dalamud.Interface.ImGuiNotification.INotification.Icon if available.

View Source
Declaration
Task<IDalamudTextureWrap?>? IconTextureTask { get; set; }

HardExpiry

Gets or sets the hard expiry.

View Source
Declaration
DateTime HardExpiry { get; set; }

InitialDuration

Gets or sets the initial duration.

View Source
Declaration
TimeSpan InitialDuration { get; set; }

ExtensionDurationSinceLastInterest

Gets or sets the new duration for this notification once the mouse cursor leaves the window and the window is no longer focused.

View Source
Declaration
TimeSpan ExtensionDurationSinceLastInterest { get; set; }

ShowIndeterminateIfNoExpiry

Gets or sets a value indicating whether to show an indeterminate expiration animation if Dalamud.Interface.ImGuiNotification.INotification.HardExpiry is set to System.DateTime.MaxValue.

View Source
Declaration
bool ShowIndeterminateIfNoExpiry { get; set; }

RespectUiHidden

Gets or sets a value indicating whether to respect the current UI visibility state.

View Source
Declaration
bool RespectUiHidden { get; set; }

Minimized

Gets or sets a value indicating whether the notification has been minimized.

View Source
Declaration
bool Minimized { get; set; }

UserDismissable

Gets or sets a value indicating whether the user can dismiss the notification by themselves.

View Source
Declaration
bool UserDismissable { get; set; }

Progress

Gets or sets the progress for the background progress bar of the notification.

View Source
Declaration
float Progress { get; set; }