EmulatorImportActionRequest14.1
Class in Unbroken.LaunchBox.Plugins.Components.Emulators
public sealed class EmulatorImportActionRequestProvides the context for executing a selected emulator import action.
Constructors
EmulatorImportActionRequestInitializes an emulator import-action request.
EmulatorImportActionRequest
Initializes an emulator import-action request.
actionId- The integration-scoped identifier of the selected action.
importedGames- The games created by the import.
reportProgress- The callback used to report status and progress.
isCancelled- The callback used to determine whether cancellation was requested.
Properties
ActionIdGets the integration-scoped identifier of the selected action.ImportedGamesGets the games created by the import.
ActionId
public string ActionId { get; }Gets the integration-scoped identifier of the selected action.
ImportedGames
Gets the games created by the import.
Methods
ReportActionProgressReports progress for the selected action.ShouldCancelActionGets whether cancellation was requested.
ReportActionProgress
public void ReportActionProgress(string label, double? progress)Reports progress for the selected action.
label- The current status label.
progress- The current progress value.
ShouldCancelAction
public bool ShouldCancelAction()Gets whether cancellation was requested.
Returns
true when cancellation was requested.