LaunchBoxContributors
On this page

ActionContext14.1

Class in Unbroken.LaunchBox.Plugins.Models.Actions

C#
public class ActionContext : ProviderItemContext
Identifies the selected item and carries optional integration-owned item evidence.

Inheritance and interfaces

Constructors

  • ActionContextInitializes a new instance of the ActionContext class.

ActionContext

C#
public ActionContext(string itemId, ProviderItemData? providerData = null)
Initializes a new instance of the ActionContext class.
itemId
The selected integration's item ID, or host item ID for an emulator.
providerData
Optional versioned provider data previously persisted by the host.

Properties

  • ApplicationPathGets or initializes the saved application or ROM path.
  • IsAdditionalApplicationGets or initializes whether the selected item is an additional application.
  • PlatformGets or initializes the host platform name.
  • TitleGets or initializes the selected item title.

ApplicationPath

C#
public string? ApplicationPath { get; init; }
Gets or initializes the saved application or ROM path.

IsAdditionalApplication

C#
public bool IsAdditionalApplication { get; init; }
Gets or initializes whether the selected item is an additional application.

Platform

C#
public string? Platform { get; init; }
Gets or initializes the host platform name.

Title

C#
public string? Title { get; init; }
Gets or initializes the selected item title.