LaunchBoxContributors
On this page

IGameMediaCapability14.1

Interface in Unbroken.LaunchBox.Plugins.Components.GameData

C#
public interface IGameMediaCapability
Supplies downloadable media for known source-local game IDs.

Methods

  • GetMediaAsyncGets media candidates for the requested games and media types.

GetMediaAsync

C#
Task<GameMediaResult> GetMediaAsync(
    GameMediaRequest request,
    CancellationToken cancellationToken
)
Gets media candidates for the requested games and media types.
request
The source-local game IDs and the requested media types.
cancellationToken
Cancels the operation.

Returns

Media candidates per game; LaunchBox selects, names, deduplicates, and downloads them.
Exception: PluginAccountNotConfiguredException
A required account is confirmed absent. Do not use this signal for authentication or retrieval failures.