SubtitleTrackChanged

data class SubtitleTrackChanged(val oldSubtitleTrack: SubtitleTrack?, val newSubtitleTrack: SubtitleTrack?) : SourceEvent

Emitted when the selected SubtitleTrack changed.

Constructors

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

Properties

Link copied to clipboard
@SerialName(value = "targetSubtitle")
val newSubtitleTrack: SubtitleTrack?

The SubtitleTrack after the change.

Link copied to clipboard
@SerialName(value = "sourceSubtitle")
val oldSubtitleTrack: SubtitleTrack?

The SubtitleTrack before the change.