Table of Contents

Class ExternalAppCatalog

Namespace
S1API.ExternalHosting
Assembly
S1API.dll

Reports S1API phone and TV apps that explicitly support independent display sessions. Registrations are process-local and callbacks run on the Unity game thread.

public static class ExternalAppCatalog
Inheritance
ExternalAppCatalog
Inherited Members

Methods

GetAll()

Returns a snapshot of currently eligible apps ordered by identity.

public static IReadOnlyList<ExternalAppRegistration> GetAll()

Returns

IReadOnlyList<ExternalAppRegistration>

GetDiagnostics()

Returns a snapshot of apps that lack an independent host contract.

public static IReadOnlyList<ExternalAppDiagnostic> GetDiagnostics()

Returns

IReadOnlyList<ExternalAppDiagnostic>

Refresh(IExternalAppHost?)

Rechecks a registered app after its hosting eligibility changes. Call on the Unity game thread. Raises Changed only when catalog membership changes. Unknown or removed apps are ignored. Existing sessions remain owned by the display mod, which can close them when it handles the change.

public static void Refresh(IExternalAppHost? host)

Parameters

host IExternalAppHost

The registered app whose eligibility changed. Null is ignored.

Events

Changed

Raised after the catalog adds, replaces, or removes an entry.

public static event Action? Changed

Event Type

Action