Provides access to the OpenFin representation of the current code context (usually a document
such as a View or 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.
Adds a listener to the end of the listeners array for the specified event.
Optional options: SubscriptionOptionsRetrieves information about the external application.
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));
Adds a listener to the end of the listeners array for the specified event.
Optional options: SubscriptionOptionsEvent payloads are documented in the Events namespace.
Adds a one time listener for the event. The listener is invoked only the first time the event is fired, after which it is removed.
Optional options: SubscriptionOptionsEvent payloads are documented in the Events namespace.
Adds a listener to the beginning of the listeners array for the specified event.
Optional options: SubscriptionOptionsEvent payloads are documented in the Events namespace.
Adds a one time listener for the event. The listener is invoked only the first time the event is fired, after which it is removed. The listener is added to the beginning of the listeners array.
Optional options: SubscriptionOptionsEvent payloads are documented in the Events namespace.
Removes all listeners, or those of the specified event.
Optional eventType: "connected" | "disconnected"Remove a listener from the listener array for the specified event.
Optional options: SubscriptionOptionsCaution: Calling this method changes the array indices in the listener array behind the listener.
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:System.launchExternalApplicationSystem.monitorExternalProcess