TorrentProperties

@Serializable
class TorrentProperties(val savePath: String, val creationDate: Long, val pieceSize: Long, val comment: String, val totalWasted: Long, val totalUploaded: Long, val totalUploadedSession: Long, val totalDownloaded: Long, val totalDownloadedSession: Long, val upLimit: Long, val dlLimit: Long, val timeElapsed: Long, val seedingTime: Long, val nbConnections: Int, val nbConnectionsLimit: Int, val shareRatio: Float, val additionDate: Long, val completionDate: Long, val createdBy: String, val dlSpeedAvg: Long, val dlSpeed: Long, val eta: Long, val lastSeen: Long, val peers: Int, val peersTotal: Int, val piecesHave: Int, val piecesNum: Int, val reannounce: Long, val seeds: Int, val seedsTotal: Int, val totalSize: Long, val upSpeedAvg: Long, val upSpeed: Long)

Constructors

Link copied to clipboard
constructor(savePath: String, creationDate: Long, pieceSize: Long, comment: String, totalWasted: Long, totalUploaded: Long, totalUploadedSession: Long, totalDownloaded: Long, totalDownloadedSession: Long, upLimit: Long, dlLimit: Long, timeElapsed: Long, seedingTime: Long, nbConnections: Int, nbConnectionsLimit: Int, shareRatio: Float, additionDate: Long, completionDate: Long, createdBy: String, dlSpeedAvg: Long, dlSpeed: Long, eta: Long, lastSeen: Long, peers: Int, peersTotal: Int, piecesHave: Int, piecesNum: Int, reannounce: Long, seeds: Int, seedsTotal: Int, totalSize: Long, upSpeedAvg: Long, upSpeed: Long)

Properties

Link copied to clipboard
@SerialName(value = "addition_date")
val additionDate: Long

When this torrent was added (unix timestamp)

Link copied to clipboard

Torrent comment

Link copied to clipboard
@SerialName(value = "completion_date")
val completionDate: Long

Torrent completion date (unix timestamp)

Link copied to clipboard
@SerialName(value = "created_by")
val createdBy: String

Torrent creator

Link copied to clipboard
@SerialName(value = "creation_date")
val creationDate: Long

Torrent creation date (Unix timestamp)

Link copied to clipboard
@SerialName(value = "dl_limit")
val dlLimit: Long

Torrent download limit (bytes/s)

Link copied to clipboard
@SerialName(value = "dl_speed")
val dlSpeed: Long

Torrent download speed (bytes/second)

Link copied to clipboard
@SerialName(value = "dl_speed_avg")
val dlSpeedAvg: Long

Torrent average download speed (bytes/second)

Link copied to clipboard
val eta: Long

Torrent ETA (seconds)

Link copied to clipboard
@SerialName(value = "last_seen")
val lastSeen: Long

Last seen complete date (unix timestamp)

Link copied to clipboard
@SerialName(value = "nb_connections")
val nbConnections: Int

Torrent connection count

Link copied to clipboard
@SerialName(value = "nb_connections_limit")
val nbConnectionsLimit: Int

Torrent connection count limit

Link copied to clipboard
val peers: Int

Number of peers connected to

Link copied to clipboard
@SerialName(value = "peers_total")
val peersTotal: Int

Number of peers in the swarm

Link copied to clipboard
@SerialName(value = "pieces_have")
val piecesHave: Int

Number of pieces owned

Link copied to clipboard
@SerialName(value = "piece_size")
val pieceSize: Long

Torrent piece size (bytes)

Link copied to clipboard
@SerialName(value = "pieces_num")
val piecesNum: Int

Number of pieces of the torrent

Link copied to clipboard

Number of seconds until the next announce

Link copied to clipboard
@SerialName(value = "save_path")
val savePath: String

Torrent save path

Link copied to clipboard
@SerialName(value = "seeding_time")
val seedingTime: Long

Torrent elapsed time while complete (seconds)

Link copied to clipboard
val seeds: Int

Number of seeds connected to

Link copied to clipboard
@SerialName(value = "seeds_total")
val seedsTotal: Int

Number of seeds in the swarm

Link copied to clipboard
@SerialName(value = "share_ratio")
val shareRatio: Float

Torrent share ratio

Link copied to clipboard
@SerialName(value = "time_elapsed")
val timeElapsed: Long

Torrent elapsed time (seconds)

Link copied to clipboard
@SerialName(value = "total_downloaded")
val totalDownloaded: Long

Total data downloaded for torrent (bytes)

Link copied to clipboard
@SerialName(value = "total_downloaded_session")
val totalDownloadedSession: Long

Total data downloaded this session (bytes)

Link copied to clipboard
@SerialName(value = "total_size")
val totalSize: Long

Torrent total size (bytes)

Link copied to clipboard
@SerialName(value = "total_uploaded")
val totalUploaded: Long

Total data uploaded for torrent (bytes)

Link copied to clipboard
@SerialName(value = "total_uploaded_session")
val totalUploadedSession: Long

Total data uploaded this session (bytes)

Link copied to clipboard
@SerialName(value = "total_wasted")
val totalWasted: Long

Total data wasted for torrent (bytes)

Link copied to clipboard
@SerialName(value = "up_limit")
val upLimit: Long

Torrent upload limit (bytes/s)

Link copied to clipboard
@SerialName(value = "up_speed")
val upSpeed: Long

Torrent upload speed (bytes/second)

Link copied to clipboard
@SerialName(value = "up_speed_avg")
val upSpeedAvg: Long

Torrent average upload speed (bytes/second)