SubtitleChanged

data class SubtitleChanged(oldSubtitleTrack: SubtitleTrack?, newSubtitleTrack: SubtitleTrack?) : SourceEvent

Emitted when the selected SubtitleTrack changed.

Constructors

SubtitleChanged
Link copied to clipboard
fun SubtitleChanged(oldSubtitleTrack: SubtitleTrack?, newSubtitleTrack: SubtitleTrack?)

Properties

newSubtitleTrack
Link copied to clipboard
@SerializedName(value = targetSubtitle)
val newSubtitleTrack: SubtitleTrack?
The SubtitleTrack after the change.
oldSubtitleTrack
Link copied to clipboard
@SerializedName(value = sourceSubtitle)
val oldSubtitleTrack: SubtitleTrack?
The SubtitleTrack before the change.

Inherited properties

timestamp
Link copied to clipboard
var timestamp: Long
The time at which the event was emitted.