Provider Result
A container for the result of a single torrentsearch.TorrentProvider query. ProviderResult is either a Success instance or any number of Error types.
Inheritors
Types
Link copied to clipboard
The data acquired when an error occurred during a torrentsearch.TorrentProvider query.
Link copied to clipboard
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.