LaunchBoxCONTRIBUTORS
On this page

14.1 Beta 1 SDK

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

EmulatorUpdateCheckResult14.1 Beta

C#
public sealed class Unbroken.LaunchBox.Plugins.Emulators.EmulatorUpdateCheckResult
Represents the complete result of an emulator update check.

Constructors

EmulatorUpdateCheckResult 14.1 Beta

C#
public EmulatorUpdateCheckResult(Unbroken.LaunchBox.Plugins.Emulators.EmulatorInstalledVersion installedVersion, System.Collections.Generic.IReadOnlyList<Unbroken.LaunchBox.Plugins.Emulators.EmulatorRelease> installableVersions, Unbroken.LaunchBox.Plugins.Emulators.EmulatorRelease? targetVersion, Unbroken.LaunchBox.Plugins.Emulators.EmulatorVersionRelation versionRelation, Unbroken.LaunchBox.Plugins.Emulators.EmulatorUpdateDisposition disposition)
Initializes a complete emulator update-check result.
installedVersion 14.1 Beta
The installed version reported by the integration.
installableVersions 14.1 Beta
The complete, authoritative installable-release snapshot available when the check was performed.
targetVersion 14.1 Beta
The selected update target.
versionRelation 14.1 Beta
The relation of the installed version to the selected target.
disposition 14.1 Beta
The integration's authoritative update decision.

Properties

Disposition 14.1 Beta

C#
public Unbroken.LaunchBox.Plugins.Emulators.EmulatorUpdateDisposition Disposition { get; }
Gets the integration's authoritative decision for the selected update target.

InstallableVersions 14.1 Beta

C#
public System.Collections.Generic.IReadOnlyList<Unbroken.LaunchBox.Plugins.Emulators.EmulatorRelease> InstallableVersions { get; }
Gets the complete, authoritative installable-release snapshot available when the check was performed.

InstalledVersion 14.1 Beta

C#
public Unbroken.LaunchBox.Plugins.Emulators.EmulatorInstalledVersion InstalledVersion { get; }
Gets the installed version reported by the integration.

IsUpdateAvailable 14.1 Beta

C#
public bool IsUpdateAvailable { get; }
Gets whether the selected target should be offered as an update.

TargetVersion 14.1 Beta

C#
public Unbroken.LaunchBox.Plugins.Emulators.EmulatorRelease? TargetVersion { get; }
Gets the release selected as the update target.

VersionRelation 14.1 Beta

C#
public Unbroken.LaunchBox.Plugins.Emulators.EmulatorVersionRelation VersionRelation { get; }
Gets the relation of the installed version to the selected target.

Methods

CreateUsingVersionLabelComparison 14.1 Beta

C#
public static Unbroken.LaunchBox.Plugins.Emulators.EmulatorUpdateCheckResult CreateUsingVersionLabelComparison(Unbroken.LaunchBox.Plugins.Emulators.EmulatorInstalledVersion installedVersion, System.Collections.Generic.IEnumerable<Unbroken.LaunchBox.Plugins.Emulators.EmulatorRelease>? installableVersions)
Creates the standard update decision from an installed version and one installable-release snapshot.
installedVersion 14.1 Beta
The installed version result.
installableVersions 14.1 Beta
The complete installable-release snapshot in preference order.

Returns

A result that selects the first release and compares its label with the installed version.

CreateUsingVersionLabelComparison 14.1 Beta

C#
public static Unbroken.LaunchBox.Plugins.Emulators.EmulatorUpdateCheckResult CreateUsingVersionLabelComparison(Unbroken.LaunchBox.Plugins.Emulators.EmulatorUpdateCheckRequest request, Unbroken.LaunchBox.Plugins.Emulators.IEmulatorVersionProvider versionProvider, Unbroken.LaunchBox.Plugins.Emulators.IEmulatorInstaller installer)
Queries independent version and installation capabilities once and creates the standard update decision.
request 14.1 Beta
The emulator record and effective application path to check.
versionProvider 14.1 Beta
The capability used to query the installed version.
installer 14.1 Beta
The capability used to query installable releases.

Returns

The standard update-check result.