LinkGenerator

class LinkGenerator(links: List<BasicLink>, extract: Boolean = true, referer: String? = null, isM3u8: Boolean? = null) : IGenerator(source)

Constructors

Link copied to clipboard
constructor(links: List<BasicLink>, extract: Boolean = true, referer: String? = null, isM3u8: Boolean? = null)

Properties

Link copied to clipboard
open override val canSkipLoading: Boolean = true
Link copied to clipboard
open override val hasCache: Boolean = false

Functions

Link copied to clipboard
open suspend override fun generateLinks(clearCache: Boolean, sourceTypes: Set<ExtractorLinkType>, callback: (Pair<ExtractorLink?, ExtractorUri?>) -> Unit, subtitleCallback: (SubtitleData) -> Unit, offset: Int, isCasting: Boolean): Boolean
Link copied to clipboard
open override fun getAll(): List<Any>?
Link copied to clipboard
open override fun getCurrent(offset: Int): Any?
Link copied to clipboard
open override fun getCurrentId(): Int?
Link copied to clipboard
open override fun goto(index: Int)
Link copied to clipboard
open override fun hasNext(): Boolean
Link copied to clipboard
open override fun hasPrev(): Boolean
Link copied to clipboard
open override fun next()
Link copied to clipboard
open override fun prev()