LaunchBoxContributors
On this page

PluginProgressNotificationResult14.1

Class in Unbroken.LaunchBox.Plugins.Services.Notifications

C#
public sealed class PluginProgressNotificationResult
Reports the outcome of a progress-notification publication request.

Constructors

PluginProgressNotificationResult

C#
public PluginProgressNotificationResult(
    PluginNotificationStatus status,
    IPluginProgressNotification? notification = null
)
Initializes a notification publication result.
status
The publication outcome.
notification
The notification handle. Required for Published and null for every other status.

Properties

  • NotificationGets the published progress notification, or null when the request was not published.
  • StatusGets the publication outcome.

Notification

C#
public IPluginProgressNotification? Notification { get; }
Gets the published progress notification, or null when the request was not published.

Status

C#
public PluginNotificationStatus Status { get; }
Gets the publication outcome.