SubtitleAdded

data class SubtitleAdded(subtitleTrack: SubtitleTrack) : SourceEvent

Emitted when a new SubtitleTrack is added.

Deprecated. Use SourceEvent.SubtitleTrackAdded instead.

Constructors

Link copied to clipboard
fun SubtitleAdded(subtitleTrack: SubtitleTrack)

Properties

Link copied to clipboard
@SerializedName(value = "subtitle")
val subtitleTrack: SubtitleTrack

The added SubtitleTrack.