LaunchBoxContributors
On this page

IInstallCapability14.1

Interface in Unbroken.LaunchBox.Plugins.Capabilities.Installation

C#
public interface IInstallCapability
Prepares install actions for selected items.

Remarks

Implemented by the selected integration. The host executes the plan. Use InstallationStateObserved with IInstallationStateCapability to monitor installation; an entry process or UI handoff is not proof of completion.

Methods

PrepareInstallAsync

C#
Task<PreparedAction?> PrepareInstallAsync(
    ActionRequest request,
    CancellationToken cancellationToken
)
Prepares the truthful install plan for one selected item.
request
The selected item context to install.
cancellationToken
A token used to cancel preparation.

Returns

A prepared action, or null when installation is unavailable.