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.
Asynchronously returns an External Application object that represents an external application.
It is possible to wrap a process that does not yet exist, (for example, to listen for startup-related events)
provided its uuid is already known.
The UUID of the external application to be wrapped
fin.ExternalApplication.wrap('javaApp-uuid');
.then(extApp => console.log('wrapped external application'))
.catch(err => console.log(err));
Synchronously returns an External Application object that represents an external application.
It is possible to wrap a process that does not yet exist, (for example, to listen for startup-related events)
provided its uuid is already known.
The UUID of the external application to be wrapped
const extApp = fin.ExternalApplication.wrapSync('javaApp-uuid');
const info = await extApp.getInfo();
console.log(info);
Static namespace for OpenFin API methods that interact with the ExternalApplication class, available under
fin.ExternalApplication
.