VideoItem

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

Represents a video item in the source

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

payload

Optional payload for custom decoders

Inheritors

Constructors

Link copied to clipboard
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)

Types

Link copied to clipboard

Represents the quality of the video item

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val type: String?