-
Notifications
You must be signed in to change notification settings - Fork 3
TorrentInfo
adborbas edited this page Jun 5, 2022
·
1 revision
Torrent info.
public struct TorrentInfo: Codable, Equatable
Codable
, Equatable
public init(from decoder: Decoder) throws
Torrent name.
public let name: String
Torrent state.
public let state: TorrentState
Torrent hash.
public let hash: String
Category of the torrent.
public let category: String
Comma-concatenated tag list of the torrent.
public let tags: [String]
Torrent progress (percentage/100).
public let progress: Float
Time (Unix Epoch) when the torrent was added to the client.
public let addedDate: Date
Time (Unix Epoch) when the torrent completed.
public let completionDate: Date
Amount of data left to download in bytes.
public let amountLeft: Int64
Amount of data downloaded in bytes.
public let downloaded: Int64
Amount of data uploaded in bytes.
public let uploaded: Int64
Torrent ETA in seconds.
public let eta: Int
Torrent share ratio. Max ratio value: 9999.
public let ratio: Float
Total size of files selected for download in bytes.
public let size: Int64
Total size of all file in this torrent (including unselected ones) in bytes.
public let totalSize: Int64
Torrent upload speed in bytes/s.
public let uploadSpeed: Int64
Torrent download speed in bytes/s.
public let downloadSpeed: Int64
Generated at 2022-06-10T12:18:58+0000 using swift-doc 1.0.0-rc.1.
Types
- AddTorrentConfiguration
- AddTorrentConfiguration.Management
- AppPreferences
- BasicAuthCredentials
- Semver
- TorrentCategory
- TorrentContent
- TorrentContent.Priority
- TorrentGenericProperties
- TorrentInfo
- TorrentState
- qBittorrentWebAPI
- qBittorrentWebAPI.Authentication
- qBittorrentWebAPI.Scheme
- qBittorrentWebAPIError