Stream

data class Stream(val name: String, val url: String, val description: String? = null, val flags: Set<Flag>? = null) : MediaLink, Serializable(source)

A wrapper for the watchable url link of the extracted film to watch.

Constructors

Link copied to clipboard
constructor(name: String, url: String, description: String? = null, flags: Set<Flag>? = null)

Properties

Link copied to clipboard

A map of custom headers associated with the media link if Flag.RequiresAuth is present in flags.

Link copied to clipboard
open override val description: String? = null

The detailed description of the stream. Default is null

Link copied to clipboard
open override val flags: Set<Flag>? = null

A set of resource Flags associated with the subtitle. Default is null

Link copied to clipboard
open override val name: String

The detailed name of the stream link.

Link copied to clipboard
open override val url: String

The url that links to the stream

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int