SidecarSubtitleTrack

data class SidecarSubtitleTrack(val url: String, val language: String, val mimeType: String? = null)

A WebVTT subtitle track loaded independently from the content manifest.

Parameters

url

URL of the WebVTT file.

language

IETF BCP 47 language code for the subtitle track.

Constructors

Link copied to clipboard
constructor(url: String, language: String, mimeType: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val mimeType: String? = null

The sample mime type

Link copied to clipboard
val url: String