GameDataPreparationRequest14.1
Class in Unbroken.LaunchBox.Plugins.Components.GameData
public sealed class GameDataPreparationRequestDescribes what a metadata or media request will need from a source.
Constructors
GameDataPreparationRequestCreates a preparation request.
GameDataPreparationRequest
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
public bool DescriptiveMetadata { get; }Gets whether descriptive metadata was explicitly requested.
MediaTypes
public IReadOnlyCollection<string>? MediaTypes { get; }Gets the selected media types, null for all, or an empty collection for no media.