SubtitleData

constructor(    originalName: String,     nameSuffix: String,     url: String,     origin: SubtitleOrigin,     mimeType: String,     headers: Map<String, String>,     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".