LaunchBoxContributors
On this page

IGameLibraryDiscoveryCapability14.1

Interface in Unbroken.LaunchBox.Plugins.Components.GameDiscovery

C#
public interface IGameLibraryDiscoveryCapability
    : IGameDiscoverySource,
      IPluginComponentMetadata
Discovers the games owned by or otherwise available to the provider's current user context.

Inheritance and interfaces

Methods

GetLibraryGamesAsync

C#
Task<GameDiscoveryResult> GetLibraryGamesAsync(
    GameDiscoveryRequest request,
    CancellationToken cancellationToken
)
Gets the source's available game library.
request
The discovery environment selected by the host.
cancellationToken
A token used to cancel the operation.

Returns

The discovered games, completeness flag, and diagnostics.