Interface InstallerDownloadEvent.DownloadProgressListener

Enclosing class:
InstallerDownloadEvent

public static interface InstallerDownloadEvent.DownloadProgressListener
A listener that is informed about the progress of a download. This listener is registered on the event with InstallerDownloadEvent.addDownloadProgressListener(com.install4j.api.events.InstallerDownloadEvent.DownloadProgressListener).
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    downloadCompleted(long bytes)
    Indicates download progress.
  • Method Details

    • downloadCompleted

      void downloadCompleted(long bytes)
      Indicates download progress.
      Parameters:
      bytes - how many bytes have been downloaded so far.