SubtitleData
data class SubtitleData( val originalName: String, val nameSuffix: String, val url: String, val origin: SubtitleOrigin, val mimeType: String, val headers: Map<String, String>, val languageCode: String?)(source)
Parameters
originalName
the start of the name to be displayed in the player
nameSuffix
An extra suffix added to the subtitle to make sure it is unique
url
Url for the subtitle, when EMBEDDED_IN_VIDEO this variable is used as the real backend id
headers
if empty it will use the base onlineDataSource headers else only the specified headers
languageCode
Not guaranteed to follow any standard. Could be something like "English 4" or "en".