14.1 Beta 1 SDK
InstallEmulatorArgs13.13
public class Unbroken.LaunchBox.Plugins.InstallEmulatorArgs
Arguments passed to provide context to the installation request
Constructors
InstallEmulatorArgs 13.13
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.
platform13.13- The platform for which the emulator is requested.
reportProgressAction13.13- The callback receiving status text, detail text, and optional numeric progress.
cancelFunc13.13- The callback indicating whether cancellation was requested.
existing13.13- The emulator record to update, or null for a new installation.
version13.13- The version to install, or null for the latest available version.
createEmulator13.13- 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 string? Version { get; }
ExistingEmulator 13.13
public Unbroken.LaunchBox.Plugins.Data.IEmulator? ExistingEmulator { get; }
The emulator record that needs reinstalled
Platform 13.13
public string Platform { get; }
The platform this installation request is for
ReportProgressAction 13.13
public System.Action<string, string?, double?>? ReportProgressAction { get; }
Action to call when updating progress
ShouldCancelFunc 13.13
public System.Func<bool>? ShouldCancelFunc { get; }
Function to call to determine if the installation should be cancelled or not
ShouldCreateEmulator 13.13
public bool ShouldCreateEmulator { get; }
Should the installation process create a LaunchBox emulator record?
Version 13.13
public string? Version { get; }
The version of the emulator that should be installed. If null use the latest version of the emulator