/** * Determine if this BitTorrent download is paused or stopped. * * @return True if the ManagedTorrent is paused or has stopped. False if it's going. */ public boolean isInactive() { // Return true if the ManagedTorrent is paused or stopped return _torrent.isPaused() || _torrent.hasStopped(); }
/** * Determine if this BitTorrent download is paused. Asks the ManagedTorrent object. * * @return True if the download is paused */ public boolean isPaused() { // Ask the ManagedTorrent object return _torrent.isPaused(); }