14.1 Beta 1 SDK
EmulatorInstallRequest14.1 Beta
public sealed class Unbroken.LaunchBox.Plugins.Emulators.EmulatorInstallRequestProvides the context for an emulator installation or update.
Constructors
EmulatorInstallRequest 14.1 Beta
public EmulatorInstallRequest(string platform, System.Action<string, string?, double?> reportProgressAction, System.Func<bool> cancelFunc, Unbroken.LaunchBox.Plugins.Data.IEmulator? existingEmulator = null, Unbroken.LaunchBox.Plugins.Emulators.EmulatorRelease? targetRelease = null, bool createEmulator = true)Initializes an emulator installation or update request.
platform14.1 Beta- The platform for which the emulator is being installed.
reportProgressAction14.1 Beta- The callback used to report status and progress.
cancelFunc14.1 Beta- The callback used to determine whether cancellation was requested.
existingEmulator14.1 Beta- The existing emulator record when updating or reinstalling.
targetRelease14.1 Beta- The exact release selected by the host, or
nullto use the default.
createEmulator14.1 Beta- Whether the installation should create a LaunchBox emulator record.
Properties
public Unbroken.LaunchBox.Plugins.Data.IEmulator? ExistingEmulator { get; }public string Platform { get; }public System.Action<string, string?, double?> ReportProgressAction { get; }public System.Func<bool> ShouldCancelFunc { get; }public bool ShouldCreateEmulator { get; }public Unbroken.LaunchBox.Plugins.Emulators.EmulatorRelease? TargetRelease { get; }
ExistingEmulator 14.1 Beta
public Unbroken.LaunchBox.Plugins.Data.IEmulator? ExistingEmulator { get; }Gets the existing emulator record when updating or reinstalling.
Platform 14.1 Beta
public string Platform { get; }Gets the platform for which the emulator is being installed.
ReportProgressAction 14.1 Beta
public System.Action<string, string?, double?> ReportProgressAction { get; }Gets the callback used to report status and progress.
ShouldCancelFunc 14.1 Beta
public System.Func<bool> ShouldCancelFunc { get; }Gets the callback used to determine whether cancellation was requested.
ShouldCreateEmulator 14.1 Beta
public bool ShouldCreateEmulator { get; }Gets whether the installation should create a LaunchBox emulator record.
TargetRelease 14.1 Beta
public Unbroken.LaunchBox.Plugins.Emulators.EmulatorRelease? TargetRelease { get; }Gets the exact release selected by the host, or
null to use the integration's default release.