LaunchBoxContributors
On this page

PluginNotificationResult14.1

Class in Unbroken.LaunchBox.Plugins.Services.Notifications

C#
public sealed class PluginNotificationResult
Reports the outcome of a notification publication request.

Constructors

PluginNotificationResult

C#
public PluginNotificationResult(
    PluginNotificationStatus status,
    IPluginNotification? 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 notification, or null when the request was not published.
  • StatusGets the publication outcome.

Notification

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

Status

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