AddTorrentAlert
data class AddTorrentAlert(val torrentName: String?, val errorMessage: String? = null, val errorCategory: String = "libtorrent") : TorrentAlert
Posted every time a torrent is successfully added (or fails to be added), carrying the result of the add operation. Ported from libtorrent::add_torrent_alert (alert_type 67).
libtorrent renders "added torrent: <name>" on success, or "failed to add torrent \"<name>\": [<category>] <error>" on failure.
Properties
Link copied to clipboard
The bitmask of AlertCategory flags this alert belongs to. Mirrors alert::category(), which returns the concrete alert's static_category.
Link copied to clipboard
the error category name (e.g. "libtorrent"), for the failure text.
Link copied to clipboard
the error description, or null/empty on success.
Link copied to clipboard
the torrent name (falls back to the info-hash hex in C++).