Removes a previously registered event listener from the specified event. Supported external application event types are:
- connected
- disconnected
Example
let externalApp = fin.desktop.ExternalApp.wrap('my-uuid');
externalApp.removeEventListener('connected', previousCallback, () => {
console.log('The unregistration was successful');
}, (reason, err) => {
console.log(`Error Message: ${err.message} Error Stack: ${err.stack}`);
});