LoadSubpackageTask.onProgressUpdate
JS
LoadSubpackageTask.onProgressUpdate(function callback)Parameters
- function callback: Callback function for the listened event
Parameters of the callback function
| Property | Type | Description |
|---|---|---|
| progress | number | Subpackage download progress percentage |
| totalBytesWritten | number | Length of data already downloaded, in Bytes |
| totalBytesExpectedToWrite | number | Expected total length of data to download, in Bytes |
