14.1 Beta 1 SDK
EmulatorUpdateCheckResult14.1 Beta
public sealed class Unbroken.LaunchBox.Plugins.Emulators.EmulatorUpdateCheckResultRepresents the complete result of an emulator update check.
Constructors
EmulatorUpdateCheckResult 14.1 Beta
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.
installedVersion14.1 Beta- The installed version reported by the integration.
installableVersions14.1 Beta- The complete, authoritative installable-release snapshot available when the check was performed.
targetVersion14.1 Beta- The selected update target.
versionRelation14.1 Beta- The relation of the installed version to the selected target.
disposition14.1 Beta- The integration's authoritative update decision.
Properties
public Unbroken.LaunchBox.Plugins.Emulators.EmulatorUpdateDisposition Disposition { get; }public System.Collections.Generic.IReadOnlyList<Unbroken.LaunchBox.Plugins.Emulators.EmulatorRelease> InstallableVersions { get; }public Unbroken.LaunchBox.Plugins.Emulators.EmulatorInstalledVersion InstalledVersion { get; }public bool IsUpdateAvailable { get; }public Unbroken.LaunchBox.Plugins.Emulators.EmulatorRelease? TargetVersion { get; }public Unbroken.LaunchBox.Plugins.Emulators.EmulatorVersionRelation VersionRelation { get; }
Disposition 14.1 Beta
public Unbroken.LaunchBox.Plugins.Emulators.EmulatorUpdateDisposition Disposition { get; }Gets the integration's authoritative decision for the selected update target.
InstallableVersions 14.1 Beta
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
public Unbroken.LaunchBox.Plugins.Emulators.EmulatorInstalledVersion InstalledVersion { get; }Gets the installed version reported by the integration.
IsUpdateAvailable 14.1 Beta
public bool IsUpdateAvailable { get; }Gets whether the selected target should be offered as an update.
TargetVersion 14.1 Beta
public Unbroken.LaunchBox.Plugins.Emulators.EmulatorRelease? TargetVersion { get; }Gets the release selected as the update target.
VersionRelation 14.1 Beta
public Unbroken.LaunchBox.Plugins.Emulators.EmulatorVersionRelation VersionRelation { get; }Gets the relation of the installed version to the selected target.
Methods
public static Unbroken.LaunchBox.Plugins.Emulators.EmulatorUpdateCheckResult CreateUsingVersionLabelComparison(Unbroken.LaunchBox.Plugins.Emulators.EmulatorInstalledVersion installedVersion, System.Collections.Generic.IEnumerable<Unbroken.LaunchBox.Plugins.Emulators.EmulatorRelease>? installableVersions)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)
CreateUsingVersionLabelComparison 14.1 Beta
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.
installedVersion14.1 Beta- The installed version result.
installableVersions14.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
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.
request14.1 Beta- The emulator record and effective application path to check.
versionProvider14.1 Beta- The capability used to query the installed version.
installer14.1 Beta- The capability used to query installable releases.