Class: GDInterAppCommunication

GDInterAppCommunication()

The GDInterAppCommunication is used to return information about a service provider application.

Methods

getGDAppDetails(id, version, onSuccess, onError)

This method check for apps installed on device
Parameters:
Name Type Description
id string Service ID.
version string Service version
onSuccess function Callback function to invoke when the function returns successfully.
onError function Callback function to invoke for error conditions.
Source:
Example
function success(result) {
    alert("Recieved details: " + result);
};

function fail(result) {
    alert("An error occurred while recieving the application details: " + result);
};


function getGDAppDetails(){
   window.plugins.GDInterAppCommunication.getGDAppDetails("", "", success, fail);
};