Add a listener for an AppUpdate event.
See events for available event names.
<static> addEventListener( eventname, f )
| Name | Type | Description |
| eventname | string | Name of the app update event. |
| f | function | Function to call when event is fired. |
sap.AppUpdate.addEventListener('checking', function(e) {
console.log("Checking for update");
});