LaunchBoxContributors
On this page

IGameInstalledDiscoveryCapability14.1

Interface in Unbroken.LaunchBox.Plugins.Components.GameDiscovery

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

Inheritance and interfaces

Methods

GetInstalledGamesAsync

C#
Task<GameDiscoveryResult> GetInstalledGamesAsync(
    GameDiscoveryRequest request,
    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 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
The installed-game discovery request.
cancellationToken
A token used to cancel the operation.

Returns

The discovered games, completeness flag, and diagnostics.