Class: ExternalApplication

ExternalApplication

An ExternalApplication object representing an application. Allows the developer to create, execute, show and close an external application as well as listen to application events.

Constructor
Synchronous Methods
Asynchronous Methods

NOTE: Methods annotated with "(static)" are shared methods called on the class (object constructor) itself.

Constructor

new ExternalApplication(uuid)

Creates a new ExternalApplication object.

Must be invoked with the new keyword (or call fin.desktop.ExternalApplication.wrap which does this for you).

Parameters:
Name Type Description
uuid string

The UUID of the new external application.

To Do:
  • Make sure any edits to this Table of Contents are also made to docs home page (/docs-README.md)!!

Methods

(static) wrap(uuid) → {fin.desktop.ExternalApplication}

Returns an External Application object that represents an existing external application.

Parameters:
Name Type Description
uuid string

The UUID of the external application to be wrapped.

Tutorials:
Returns:
  • fin.desktop.ExternalApplication Object.
Type
fin.desktop.ExternalApplication

addEventListener(type, listener, callbackopt, errorCallbackopt)

Registers an event listener on the specified event

Parameters:
Name Type Attributes Description
type string

The type of the event.

listener function

will be called whenever an event of the specified type occurs. It is passed an event object containing information related to the event.

callback function <optional>

called if the method succeeds.

errorCallback function <optional>

called if the method fails. The reason for failure is passed as an argument.

Tutorials:

removeEventListener(type, listener, callbackopt, errorCallbackopt)

Removes a previously registered event listener from the specified event.

Parameters:
Name Type Attributes Description
type string

The type of the event.

listener function

will be called whenever an event of the specified type occurs. It is passed an event object containing information related to the event.

callback function <optional>

called if the method succeeds.

errorCallback function <optional>

called if the method fails. The reason for failure is passed as an argument.

Tutorials: