Constructor
new ExternalApplication(uuid)
Creates a new ExternalApplication object.
Best practice is to invoke with the new
operand.
Failure to do so will result in a console warning (but will otherwise succeed).
Parameters:
Name | Type | Description |
---|---|---|
uuid |
string | The UUID of the new external application. |
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:
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:
getInfo(callbackopt, errorCallbackopt)
Retrieves information about the external application.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
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: