Subtitle

data class Subtitle(val url: String, val type: Streamable.SubtitleType) : Streamable.Media

A data class representing a loaded subtitle for a Track.

Headers are unfortunately not supported for subtitles.

See also

Constructors

Link copied to clipboard
constructor(url: String, type: Streamable.SubtitleType)

Properties

Link copied to clipboard

The type of the subtitle

Link copied to clipboard
val url: String

The url of the subtitle