Class FastresumeRejectedAlert

java.lang.Object
com.frostwire.jlibtorrent.alerts.AbstractAlert<com.frostwire.jlibtorrent.swig.fastresume_rejected_alert>
com.frostwire.jlibtorrent.alerts.TorrentAlert<com.frostwire.jlibtorrent.swig.fastresume_rejected_alert>
com.frostwire.jlibtorrent.alerts.FastresumeRejectedAlert
All Implemented Interfaces:
Alert<com.frostwire.jlibtorrent.swig.fastresume_rejected_alert>

public final class FastresumeRejectedAlert extends TorrentAlert<com.frostwire.jlibtorrent.swig.fastresume_rejected_alert>
This alert is generated when a fastresume file has been passed to addTorrent but the files on disk did not match the fastresume file. The explains the reason why the resume file was rejected.
  • Method Details

    • error

      public ErrorCode error()
    • filePath

      public String filePath()
      If the error happened to a specific file, this returns the path to it.
      Returns:
      the file path.
    • operation

      public Operation operation()
      If the error happened in a disk operation, a string with the name of that operation.
      Returns:
      the operation.