SubtitleLabeler
fun interface SubtitleLabeler
Can be implemented and added to the LabelingConfig to label SubtitleTracks.
Applied to all subtitle tracks for local playback and cast sessions.
Functions
| Name | Summary |
|---|---|
| getSubtitleLabel | abstract fun getSubtitleLabel(subtitleTrack: SubtitleTrack): String? Is called with a SubtitleTrack to assign a new label to it. If null is returned, the label of subtitleTrack will not be changed. |