Class StateUpdateAlert

java.lang.Object
com.frostwire.jlibtorrent.alerts.AbstractAlert<state_update_alert>
com.frostwire.jlibtorrent.alerts.StateUpdateAlert
All Implemented Interfaces:
Alert<state_update_alert>

public final class StateUpdateAlert extends AbstractAlert<state_update_alert>
This alert is only posted when requested by the user, by calling SessionHandle.postTorrentUpdates(). It contains the torrent status of all torrents that changed since last time this message was posted. Its category is status_notification, but it's not subject to filtering, since it's only manually posted anyway.
  • Method Details

    • status

      public List<TorrentStatus> status()
      Contains the torrent status of all torrents that changed since last time this message was posted. Note that you can map a torrent status to a specific torrent via its handle member.
      Returns:
      the list of torrent status