Subtitle
data class Subtitle(val language: String, val type: SubtitleSource = ONLINE, val url: String, val flags: Set<Flag>? = null) : MediaLink, Serializable(source)
Data class representing a subtitle entity.
This data class encapsulates information about a subtitle, including its URL, language, and source type.
Constructors
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
An optional description of the media link.
Link copied to clipboard
The source type of the subtitle, indicating whether it's online, local, or embedded. Default is SubtitleSource.ONLINE