LaunchBoxCONTRIBUTORS
On this page

14.1 Beta 1 SDK

This reference documents the current beta SDK. Beta APIs can change before stable.

EmulatorInstallRequest14.1 Beta

C#
public sealed class Unbroken.LaunchBox.Plugins.Emulators.EmulatorInstallRequest
Provides the context for an emulator installation or update.

Constructors

EmulatorInstallRequest 14.1 Beta

C#
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.
platform 14.1 Beta
The platform for which the emulator is being installed.
reportProgressAction 14.1 Beta
The callback used to report status and progress.
cancelFunc 14.1 Beta
The callback used to determine whether cancellation was requested.
existingEmulator 14.1 Beta
The existing emulator record when updating or reinstalling.
targetRelease 14.1 Beta
The exact release selected by the host, or null to use the default.
createEmulator 14.1 Beta
Whether the installation should create a LaunchBox emulator record.

Properties

ExistingEmulator 14.1 Beta

C#
public Unbroken.LaunchBox.Plugins.Data.IEmulator? ExistingEmulator { get; }
Gets the existing emulator record when updating or reinstalling.

Platform 14.1 Beta

C#
public string Platform { get; }
Gets the platform for which the emulator is being installed.

ReportProgressAction 14.1 Beta

C#
public System.Action<string, string?, double?> ReportProgressAction { get; }
Gets the callback used to report status and progress.

ShouldCancelFunc 14.1 Beta

C#
public System.Func<bool> ShouldCancelFunc { get; }
Gets the callback used to determine whether cancellation was requested.

ShouldCreateEmulator 14.1 Beta

C#
public bool ShouldCreateEmulator { get; }
Gets whether the installation should create a LaunchBox emulator record.

TargetRelease 14.1 Beta

C#
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.