Success

data class Success(val providerName: String, val torrents: List<TorrentDescription>, val fromCache: Boolean = false, val page: Int = 1, val pageSize: Int = torrents.size, val totalTorrents: Int = torrents.size, val requiresResolution: Boolean = false) : ProviderResult

The data acquired from a successful torrentsearch.TorrentProvider query.

Constructors

Link copied to clipboard
constructor(providerName: String, torrents: List<TorrentDescription>, fromCache: Boolean = false, page: Int = 1, pageSize: Int = torrents.size, totalTorrents: Int = torrents.size, requiresResolution: Boolean = false)

Properties

Link copied to clipboard
val fromCache: Boolean = false

True if this result is from a torrentsearch.TorrentProviderCache/

Link copied to clipboard

Returns true when the provider indicated more results are available with additional requests.

Link copied to clipboard
val page: Int = 1

The page number containing the torrents.

Link copied to clipboard

The size (or limit) of each page.

Link copied to clipboard
open override val providerName: String

The name of the provider which produced this result.

Link copied to clipboard

Indicates if the TorrentDescriptions must be resolved to retrieve download information.

Link copied to clipboard

The torrents found on the provider.

Link copied to clipboard

The total number of torrents available on the provider.