LaunchBoxContributors
On this page

ApplicationRecognitionResult14.1

Class in Unbroken.LaunchBox.Plugins.Components.GameDiscovery

C#
public sealed class ApplicationRecognitionResult
Supplies a local application recognition decision without changing the library or launching software.

Properties

  • ExcludedGets a result excluding a positively identified client or non-game application.
  • GameGets the identified game, or null when no stable game identity is known. A discovery ID alone never assigns storefront ownership.
  • ImportDetailsGets optional local import suggestions. Storefront consumers can prepare an identified game's import separately; ordinary Windows recognition retains the original path when suggestions are absent.
  • OutcomeGets the application's recognition outcome.
  • UnrecognizedGets a result that leaves ordinary application import unchanged.

Excluded

C#
public static ApplicationRecognitionResult Excluded { get; }
Gets a result excluding a positively identified client or non-game application.

Game

C#
public DiscoveredGame? Game { get; }
Gets the identified game, or null when no stable game identity is known. A discovery ID alone never assigns storefront ownership.

ImportDetails

C#
public GameImportDetails? ImportDetails { get; }
Gets optional local import suggestions. Storefront consumers can prepare an identified game's import separately; ordinary Windows recognition retains the original path when suggestions are absent.

Outcome

C#
public ApplicationRecognitionOutcome Outcome { get; }
Gets the application's recognition outcome.

Unrecognized

C#
public static ApplicationRecognitionResult Unrecognized { get; }
Gets a result that leaves ordinary application import unchanged.

Methods

  • ForApplicationSuggests a local launch application without inventing a storefront game identity.
  • ForGameRecognizes a game using a stable provider-local ID and optional launch suggestions.

ForApplication

C#
public static ApplicationRecognitionResult ForApplication(
    GameImportDetails importDetails
)
Suggests a local launch application without inventing a storefront game identity.
importDetails
The suggested import details. The preferred application must be an existing absolute local file.

Returns

A recognized application suggestion with no game identity.

ForGame

C#
public static ApplicationRecognitionResult ForGame(
    DiscoveredGame game,
    GameImportDetails? importDetails = null
)
Recognizes a game using a stable provider-local ID and optional launch suggestions.
game
The positively identified game and any known local installation evidence.
importDetails
Optional import details; these take precedence over separate import preparation.

Returns

A recognized game result. The host owns ordinary path matching and any explicit domain-specific association.