SubtitleChanged

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

Deprecated

Use SourceEvent.SubtitleTrackChanged instead

Emitted when the selected SubtitleTrack changed.

Deprecated. Use SourceEvent.SubtitleTrackChanged instead.

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.