AboutSupportDeveloper GuideVersion 38.126.83.74

An ExternalApplication object representing native language adapter connections to the runtime. Allows the developer to listen to external application events. Discovery of connections is provided by getAllExternalApplications.

Processes that can be wrapped as ExternalApplications include the following:

  • Processes which have connected to an OpenFin runtime via an adapter
  • Processes started via System.launchExternalApplication
  • Processes monitored via System.monitorExternalProcess

Hierarchy

Properties

Accessors

  • get me(): Identity
  • Provides access to the OpenFin representation of the current code context (usually a document such as a OpenFin.View or OpenFin.Window), as well as to the current Interop context.

    Useful for debugging in the devtools console, where this will intelligently type itself based on the context in which the devtools panel was opened.

    Returns Identity

Methods

  • Returns (string | symbol)[]

  • Retrieves information about the external application.

    Returns Promise<ExternalApplicationInfo>

    Example

    async function getInfo() {
    const extApp = await fin.ExternalApplication.wrap('javaApp-uuid');
    return await extApp.getInfo();
    }
    getInfo().then(info => console.log(info)).catch(err => console.log(err));
  • Parameters

    • type: string | symbol

    Returns number

  • Parameters

    • type: string | symbol

    Returns Function[]

  • Removes all listeners, or those of the specified event.

    Parameters

    • Optional eventType: "connected" | "disconnected"

    Returns Promise<ExternalApplication>