SubtitleLabeler

fun interface SubtitleLabeler

Can be implemented and added to the LabelingConfig to label SubtitleTracks.

Functions

Link copied to clipboard
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.