Event fired when AppUpdate has made progress downloading the update.
| Name | Type | Default | Description |
| type | string | undefined | The name of the event.Value will be progress. |
| lengthComputable | boolean | undefined | Specifies whether or not the total size is known. |
| loaded | int | undefined | The number of bytes transferred so far. |
| total | int | undefined | The total number of bytes of content that will be transferred.If total size is unknown, this value is zero. |
object
sap.AppUpdate.addEventListener('progress', function(e) {
if (e.lengthComputable) {
var percent = Math.round(e.loaded / e.total * 100);
console.log("Progress " + percent);
}
});
3.0.2