14.1 Beta 1 SDK
StorefrontProviderImportMediaOption14.1 Beta
public sealed class Unbroken.LaunchBox.Plugins.Storefronts.StorefrontProviderImportMediaOption
Describes one provider media choice shown by the host-owned manual import wizard.
Constructors
StorefrontProviderImportMediaOption 14.1 Beta
public StorefrontProviderImportMediaOption(string mediaType, string? displayNameResourceKey = null, bool isSelectedByDefault = true)
Initializes a new instance of the Unbroken.LaunchBox.Plugins.Storefronts.StorefrontProviderImportMediaOption class.
mediaType14.1 Beta- The media type emitted by Unbroken.LaunchBox.Plugins.Storefronts.StorefrontGameMedia.MediaType, normally a value from Unbroken.LaunchBox.Plugins.Data.ImageTypes or Unbroken.LaunchBox.Plugins.Data.VideoTypes.
displayNameResourceKey14.1 Beta- An optional plugin string-resource key for the choice label. The media type is used when omitted.
isSelectedByDefault14.1 Beta- Whether the choice is selected when the host has no saved preference for the media type.
Properties
public string? DisplayNameResourceKey { get; }public bool IsSelectedByDefault { get; }public string MediaType { get; }
DisplayNameResourceKey 14.1 Beta
public string? DisplayNameResourceKey { get; }Gets the optional plugin string-resource key for the choice label.
IsSelectedByDefault 14.1 Beta
public bool IsSelectedByDefault { get; }Gets whether the choice is selected when the host has no saved preference.
MediaType 14.1 Beta
public string MediaType { get; }Gets the media type emitted by the provider's game metadata.