Class InstallerDownloadEvent

    • Constructor Detail

      • InstallerDownloadEvent

        public InstallerDownloadEvent​(java.lang.Object source,
                                      Context context,
                                      EventType type,
                                      boolean success,
                                      java.net.URL url,
                                      java.io.File downloadFile,
                                      long downloadSize)
        The constructor is called by the framework.
        Parameters:
        source - the event source
        context - the context
        type - the event type.
        success - whether the operation associated with the event was successful
        url - the download URL
        downloadFile - the download file
        downloadSize - the size of the download
      • InstallerDownloadEvent

        public InstallerDownloadEvent​(java.lang.Object source,
                                      Context context,
                                      EventType type,
                                      java.net.URL url,
                                      java.io.File downloadFile,
                                      long downloadSize)
        The constructor is called by the framework.
        Parameters:
        source - the event source
        context - the context
        type - the event type.
        url - the download URL
        downloadFile - the download file
        downloadSize - the size of the download
    • Method Detail

      • getUrl

        public java.net.URL getUrl()
        Returns the URL of the download.
        Returns:
        the URL
      • getDownloadFile

        public java.io.File getDownloadFile()
        Returns the file where the download is saved.
        Returns:
        the download file
      • getDownloadSize

        public long getDownloadSize()
        Returns the size for the download in bytes.
        Returns:
        the size
      • getVerbose

        public java.lang.String getVerbose()
        Description copied from class: InstallerEvent
        Return a verbose description of this event.
        Overrides:
        getVerbose in class InstallerEvent
        Returns:
        the description