new Connector()
- Since:
-
- 2.0.0
Methods
-
<static> invokeMethod(sCall, sResultFunction, sErrorFunction, sData)
This function will trigger events for the App Enablement API to exchange data between host and client app and also decides whether to use the JavaScript (postMessage) or Java (via own protocol for JX browser) logic.
-
Parameters:
Name Type Description sCall
string Event name that should be called. sResultFunction
string Name of the success callback function. Data type is string but internal data type is function. sErrorFunction
string Name of the error callback function. Data type is string but internal data type is function. sData
string Stringified Object that is passed to the event. - Since:
-
- 2.0.0