14.1 Beta 1 SDK
EmulatorImportActionRequest14.1 Beta
public sealed class Unbroken.LaunchBox.Plugins.Emulators.EmulatorImportActionRequestProvides the context for executing a selected emulator import action.
Constructors
EmulatorImportActionRequest 14.1 Beta
public EmulatorImportActionRequest(string actionId, System.Collections.Generic.IList<Unbroken.LaunchBox.Plugins.Data.IGame> importedGames, System.Action<string, double?> reportProgress, System.Func<bool> isCancelled)Initializes an emulator import-action request.
actionId14.1 Beta- The integration-scoped identifier of the selected action.
importedGames14.1 Beta- The games created by the import.
reportProgress14.1 Beta- The callback used to report status and progress.
isCancelled14.1 Beta- The callback used to determine whether cancellation was requested.
Properties
public string ActionId { get; }public System.Collections.Generic.IList<Unbroken.LaunchBox.Plugins.Data.IGame> ImportedGames { get; }
ActionId 14.1 Beta
public string ActionId { get; }Gets the integration-scoped identifier of the selected action.
ImportedGames 14.1 Beta
public System.Collections.Generic.IList<Unbroken.LaunchBox.Plugins.Data.IGame> ImportedGames { get; }Gets the games created by the import.
Methods
ReportActionProgress 14.1 Beta
public void ReportActionProgress(string label, double? progress)ShouldCancelAction 14.1 Beta
public bool ShouldCancelAction()Gets whether cancellation was requested.
Returns
true when cancellation was requested.