VideoItem

constructor(name: String, link: String, type: String? = null, quality: VideoItem.Quality? = null, subtitles: List<Subtitle>? = null, needDecoder: Boolean = true, canDownload: Boolean = true, payload: String? = null)

Parameters

name

Item name

link

Item link

type

Optional item subtext

quality

Optional quality type (icon in the source list)

needDecoder

Specify if this link needs to be processed before playing or it can be played instantly, default is true

canDownload

Specify if this link can be downloaded

isExternal

Specify if the link is an external link, use ExternalVideoItem

payload

Optional payload for custom decoders