VideoItem

open class VideoItem(val name: String, val 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

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

isExternal

Specify if the link is an external link, use ExternalVideoItem

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
val canDownload: Boolean = true
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val needDecoder: Boolean = true
Link copied to clipboard
val payload: String? = null
Link copied to clipboard
Link copied to clipboard
val subtitles: List<Subtitle>? = null
Link copied to clipboard
val type: String? = null