# InstallerDownloadEvent.DownloadProgressListener

Import: `import com.install4j.api.events.InstallerDownloadEvent;`

```java
static interface DownloadProgressListener
```

A listener that is informed about the progress of a download.
This listener is registered on the event with
[`DownloadProgressListener.addDownloadProgressListener`](InstallerDownloadEvent.DownloadProgressListener.md#adddownloadprogresslistener).

## Methods

| Signature | Returns | Description |
|---|---|---|
| [`downloadCompleted(long)`](#downloadcompleted-long) | `void` | Indicates download progress. |

### downloadCompleted(long)

```java
void downloadCompleted(long bytes)
```

Indicates download progress.


**Parameters:**

- `bytes` — how many bytes have been downloaded so far.

