LaunchBoxCONTRIBUTORS
On this page

14.1 Beta 1 SDK

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

InstallEmulatorArgs13.13

C#
public class Unbroken.LaunchBox.Plugins.InstallEmulatorArgs
Arguments passed to provide context to the installation request

Constructors

InstallEmulatorArgs 13.13

C#
public InstallEmulatorArgs(string platform, System.Action<string, string?, double?> reportProgressAction, System.Func<bool> cancelFunc, Unbroken.LaunchBox.Plugins.Data.IEmulator? existing = null, string? version = null, bool createEmulator = true)
Initializes an emulator installation request.
platform 13.13
The platform for which the emulator is requested.
reportProgressAction 13.13
The callback receiving status text, detail text, and optional numeric progress.
cancelFunc 13.13
The callback indicating whether cancellation was requested.
existing 13.13
The emulator record to update, or null for a new installation.
version 13.13
The version to install, or null for the latest available version.
createEmulator 13.13
Whether the installation should create a LaunchBox emulator record.

Properties

ExistingEmulator 13.13

C#
public Unbroken.LaunchBox.Plugins.Data.IEmulator? ExistingEmulator { get; }
The emulator record that needs reinstalled

Platform 13.13

C#
public string Platform { get; }
The platform this installation request is for

ReportProgressAction 13.13

C#
public System.Action<string, string?, double?>? ReportProgressAction { get; }
Action to call when updating progress

ShouldCancelFunc 13.13

C#
public System.Func<bool>? ShouldCancelFunc { get; }
Function to call to determine if the installation should be cancelled or not

ShouldCreateEmulator 13.13

C#
public bool ShouldCreateEmulator { get; }
Should the installation process create a LaunchBox emulator record?

Version 13.13

C#
public string? Version { get; }
The version of the emulator that should be installed. If null use the latest version of the emulator