subtitle

abstract val subtitle: SubtitleTrack?

Deprecated

Use `Source.selectedSubtitleTrack` on the currently active source instead e.g. Player.source.selectedSubtitleTrack

Replace with

source?.selectedSubtitleTrack

The currently selected SubtitleTrack or null if there is none.

This function is deprecated. Use Source.selectedSubtitleTrack on the currently active source instead e.g. Player.source.selectedSubtitleTrack