public interface

SubtitleController.Listener

 androidx.media2.player.subtitle.SubtitleController.Listener

Overview

Listener for when subtitle track has been selected.

Summary

Methods
public voidonSubtitleTrackSelected(SubtitleTrack track)

Called when a subtitle track has been selected.

Methods

public void onSubtitleTrackSelected(SubtitleTrack track)

Called when a subtitle track has been selected.

Parameters:

track: selected subtitle track or null