InstallEmulatorArgs13.13
Class in Unbroken.LaunchBox.Plugins
public class InstallEmulatorArgs
Arguments passed to provide context to the installation request
Constructors
InstallEmulatorArgsChanged 13.27Initializes an emulator installation request.
InstallEmulatorArgs Changed 13.27
Initializes an emulator installation request.
platform- The platform for which the emulator is requested.
reportProgressAction- The callback receiving status text, detail text, and optional numeric progress.
cancelFunc- The callback indicating whether cancellation was requested.
existing- The emulator record to update, or null for a new installation.
version- The version to install, or null for the latest available version.
createEmulator- Whether the installation should create a LaunchBox emulator record.
Properties
ExistingEmulatorChanged 13.27The emulator record that needs reinstalledPlatformThe platform this installation request is forReportProgressActionChanged 13.27Action to call when updating progressShouldCancelFuncChanged 13.27Function to call to determine if the installation should be cancelled or notShouldCreateEmulatorShould the installation process create a LaunchBox emulator record?VersionChanged 13.27The version of the emulator that should be installed. If null use the latest version of the emulator
ExistingEmulator Changed 13.27
public IEmulator? ExistingEmulator { get; }
The emulator record that needs reinstalled
Platform
public string Platform { get; }
The platform this installation request is for
ReportProgressAction Changed 13.27
public Action<string, string?, double?>? ReportProgressAction { get; }
Action to call when updating progress
ShouldCancelFunc Changed 13.27
public Func<bool>? ShouldCancelFunc { get; }
Function to call to determine if the installation should be cancelled or not
ShouldCreateEmulator
public bool ShouldCreateEmulator { get; }
Should the installation process create a LaunchBox emulator record?
Version Changed 13.27
public string? Version { get; }
The version of the emulator that should be installed. If null use the latest version of the emulator