14.1 Beta 1 SDK
PluginNotificationIcon14.1 Beta
public sealed class Unbroken.LaunchBox.Plugins.Notifications.PluginNotificationIcon
Selects the package image displayed for a plugin notification in LaunchBox surfaces. Presentation styles that use host-controlled system artwork may ignore this selection.
Remarks
Image resources follow the plugin packageresources/images naming convention. LaunchBox selects the best appearance and scale variant and falls back to the plugin's default icon when the requested resource is unavailable. No image is displayed when the package does not contain a valid default icon.
Constructors
PluginNotificationIcon 14.1 Beta
public PluginNotificationIcon(string resourceId)
Initializes a selection for a named PNG resource from the plugin package.
resourceId14.1 Beta- The image resource identifier without a path, extension, appearance, or scale suffix.
Properties
public static Unbroken.LaunchBox.Plugins.Notifications.PluginNotificationIcon Default { get; }public string? ResourceId { get; }
Default 14.1 Beta
public static Unbroken.LaunchBox.Plugins.Notifications.PluginNotificationIcon Default { get; }
Gets a selection that uses the plugin's package icon, or no image when the package does not contain a valid icon.
ResourceId 14.1 Beta
public string? ResourceId { get; }
Gets the named package image resource, or null when the plugin's default icon is selected.