LaunchBoxContributors
On this page

GameDataPreparationRequest14.1

Class in Unbroken.LaunchBox.Plugins.Components.GameData

C#
public sealed class GameDataPreparationRequest
Describes what a metadata or media request will need from a source.

Constructors

GameDataPreparationRequest

C#
public GameDataPreparationRequest(
    bool descriptiveMetadata,
    IReadOnlyCollection<string>? mediaTypes
)
Creates a preparation request.
descriptiveMetadata
Whether descriptive metadata was explicitly requested rather than used only as a fallback.
mediaTypes
The selected media types, an empty collection for no media, or null when every available media type is being browsed.

Properties

  • DescriptiveMetadataGets whether descriptive metadata was explicitly requested.
  • MediaTypesGets the selected media types, null for all, or an empty collection for no media.

DescriptiveMetadata

C#
public bool DescriptiveMetadata { get; }
Gets whether descriptive metadata was explicitly requested.

MediaTypes

C#
public IReadOnlyCollection<string>? MediaTypes { get; }
Gets the selected media types, null for all, or an empty collection for no media.