An object representing an application. Allows the developer to create, execute, show and close an application, as well as listen to application events.
Method Index
Synchronous
Asynchronous
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 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: