LaunchBoxCONTRIBUTORS
On this page

14.1 Beta 1 SDK

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

IGameInstalledDiscoveryCapability14.1 Beta

C#
public interface Unbroken.LaunchBox.Plugins.Discovery.IGameInstalledDiscoveryCapability : Unbroken.LaunchBox.Plugins.Discovery.IGameDiscoverySource, Unbroken.LaunchBox.Plugins.IPluginComponentMetadata
Discovers games installed through a game discovery source.

Inheritance and interfaces

Methods

GetInstalledGamesAsync 14.1 Beta

C#
System.Threading.Tasks.Task<Unbroken.LaunchBox.Plugins.Discovery.GameDiscoveryResult> GetInstalledGamesAsync(Unbroken.LaunchBox.Plugins.Discovery.GameDiscoveryRequest request, System.Threading.CancellationToken cancellationToken)
Gets the games that the provider can currently identify as locally installed.

Remarks

A complete result allows the host to treat omitted games as not installed. Set Unbroken.LaunchBox.Plugins.Discovery.GameDiscoveryResult.IsComplete to false when discovery is limited to an account library or otherwise cannot establish absence for omitted games. Known installations in an incomplete result remain usable by the host.
request 14.1 Beta
The installed-game discovery request.
cancellationToken 14.1 Beta
A token used to cancel the operation.

Returns

The discovered games, completeness flag, and diagnostics.