LaunchBoxCONTRIBUTORS
On this page

14.1 Beta 1 SDK

This reference documents the current beta SDK. Beta APIs can change before stable.

PluginNotificationIcon14.1 Beta

C#
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 package resources/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

C#
public PluginNotificationIcon(string resourceId)
Initializes a selection for a named PNG resource from the plugin package.
resourceId 14.1 Beta
The image resource identifier without a path, extension, appearance, or scale suffix.

Properties

Default 14.1 Beta

C#
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

C#
public string? ResourceId { get; }
Gets the named package image resource, or null when the plugin's default icon is selected.