IGameInstalledDiscoveryCapability14.1
Interface in Unbroken.LaunchBox.Plugins.Components.GameDiscovery
public interface IGameInstalledDiscoveryCapability
: IGameDiscoverySource,
IPluginComponentMetadata
Discovers games installed through a game discovery source.
Inheritance and interfaces
Methods
GetInstalledGamesAsyncGets the games that the provider can currently identify as locally installed.
GetInstalledGamesAsync
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 tofalse 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.