SubtitleTrackChanged

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

Emitted when the selected SubtitleTrack changed.

Constructors

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

Properties

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

The SubtitleTrack after the change.

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

The SubtitleTrack before the change.