Interface DownloadHistoryManager

All Known Implementing Classes:
DownloadHistoryManagerImpl

public interface DownloadHistoryManager
  • Method Details

    • isEnabled

      boolean isEnabled()
    • setEnabled

      void setEnabled(boolean enabled)
    • getHistoryCount

      int getHistoryCount()
    • removeHistory

      void removeHistory(List<DownloadHistory> history)
    • resetHistory

      void resetHistory()
    • getDates

      long[] getDates(byte[] hash, boolean with_redownload)
      Returns:
      [ added, completed, removed, redownloaded (transient)]
    • addListener

      void addListener(DownloadHistoryListener listener, boolean fire_for_existing)
    • removeListener

      void removeListener(DownloadHistoryListener listener)