Interface DownloadListener

    • Method Detail

      • stateChanged

        void stateChanged​(Download download,
                          int old_state,
                          int new_state)
        The Download's state has changed. This is also triggered if the user toggles the Force Start on/off.
      • positionChanged

        void positionChanged​(Download download,
                             int oldPosition,
                             int newPosition)
        Position of download has changed.
        Parameters:
        download - object in which the position has changed
        oldPosition - position that the download used to be at
        newPosition - position that the download is now at