LaunchBoxCONTRIBUTORS
On this page

14.1 Beta 1 SDK

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

IStorefrontMetadataDownloadPreparationCapability14.1 Beta

C#
public interface Unbroken.LaunchBox.Plugins.Storefronts.IStorefrontMetadataDownloadPreparationCapability
Optionally describes account requirements and presentation before downloading metadata or media.

Remarks

Implement alongside Unbroken.LaunchBox.Plugins.Storefronts.IStorefrontGameMetadataCapability. Providers without this capability retain ordinary metadata retrieval without a download-specific connection prompt.

Methods

GetMetadataDownloadPreparation 14.1 Beta

C#
Unbroken.LaunchBox.Plugins.Storefronts.StorefrontMetadataDownloadPreparation GetMetadataDownloadPreparation(bool downloadMetadata, System.Collections.Generic.IReadOnlyCollection<string>? mediaTypes)
Describes the requested downloads without connecting or retrieving remote data.
downloadMetadata 14.1 Beta
Whether descriptive metadata is explicitly requested, rather than used only as a fallback after the Games Database.
mediaTypes 14.1 Beta
Selected media types, an empty collection for no media, or null when browsing all available media.

Returns

The account requirements and optional localized presentation.