ResolveResult

sealed class ResolveResult

ResolveResult contains details and resolved torrents from a single provider.

Because resolution may require a request for each TorrentDescription, a ResolveResult may be an Error but still contain torrents for any requests that completed successfully.

Inheritors

Types

Link copied to clipboard
sealed class Error : ResolveResult

Indicates that there was an error resolving at least one TorrentDescription.

Link copied to clipboard
data class Success(val providerName: String, val torrents: List<TorrentDescription>) : ResolveResult

Indicates that all requested TorrentDescriptions have been successfully resolved.

Properties

Link copied to clipboard
abstract val providerName: String
Link copied to clipboard