- Source:
Methods
authenticationStatus(successHandler, errorHandler)
Returns the authentication status of the application
Parameters:
Name | Type | Description |
---|---|---|
successHandler |
successCallbackFunction | user defined success callback that is invoked on success scenario. |
errorHandler |
errorCallbackFunction | user defined error callback that is invoked on failure scenario. |
- Source:
initEnterpriseBrowser(successHandler, errorHandler)
Initializes the Enterprise Browser window and populates it with the native and web apps registered in the MAG server
Parameters:
Name | Type | Description |
---|---|---|
successHandler |
successCallbackFunction | user defined success callback that is invoked on success scenario. |
errorHandler |
errorCallbackFunction | user defined error callback that is invoked on failure scenario. |
- Source:
isApplicationAuthenticated(successHandler, errorHandler)
Checks if application is authenticated.
Parameters:
Name | Type | Description |
---|---|---|
successHandler |
successCallbackFunction | user defined success callback that is invoked on success scenario. |
errorHandler |
errorCallbackFunction | user defined error callback that is invoked on failure scenario. |
- Source:
launchApp(successHandler, errorHandler, appId)
Launches the selected enterprise Application
Parameters:
Name | Type | Description |
---|---|---|
successHandler |
successCallbackFunction | user defined success callback that is invoked on success scenario. |
errorHandler |
errorCallbackFunction | user defined error callback that is invoked on failure scenario. |
appId |
string | application ID of the app that needs to be launched. |
- Source:
retrieveEnterpriseApps(successHandler, errorHandler)
Retrieves all the enterprise apps in the form of JSON from the server. It includes both native and web apps
Parameters:
Name | Type | Description |
---|---|---|
successHandler |
successCallbackFunction | user defined success callback that is invoked on success scenario. |
errorHandler |
errorCallbackFunction | user defined error callback that is invoked on failure scenario. |
- Source: