Codota Logo
DemoPlayer$CaptionListener
Code IndexAdd Codota to your IDE (free)

How to use
DemoPlayer$CaptionListener
in
tv.danmaku.ijk.media.exo.demo.player

Best Java code snippets using tv.danmaku.ijk.media.exo.demo.player.DemoPlayer$CaptionListener (Showing top 8 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: Dawish/BriskTVLauncher

public void setSelectedTrack(int type, int index) {
 player.setSelectedTrack(type, index);
 if (type == TYPE_TEXT && index < 0 && captionListener != null) {
  captionListener.onCues(Collections.<Cue>emptyList());
 }
}
origin: Dreamxiaoxuan/AndroidTvDemo

@Override
public void onCues(List<Cue> cues) {
 if (captionListener != null && getSelectedTrack(TYPE_TEXT) != TRACK_DISABLED) {
  captionListener.onCues(cues);
 }
}
origin: wanliyang1990/WliveTV

@Override
public void onCues(List<Cue> cues) {
 if (captionListener != null && getSelectedTrack(TYPE_TEXT) != TRACK_DISABLED) {
  captionListener.onCues(cues);
 }
}
origin: wanliyang1990/WliveTV

public void setSelectedTrack(int type, int index) {
 player.setSelectedTrack(type, index);
 if (type == TYPE_TEXT && index < 0 && captionListener != null) {
  captionListener.onCues(Collections.<Cue>emptyList());
 }
}
origin: Dawish/ijkplayer-android-demo

@Override
public void onCues(List<Cue> cues) {
 if (captionListener != null && getSelectedTrack(TYPE_TEXT) != TRACK_DISABLED) {
  captionListener.onCues(cues);
 }
}
origin: Dawish/ijkplayer-android-demo

public void setSelectedTrack(int type, int index) {
 player.setSelectedTrack(type, index);
 if (type == TYPE_TEXT && index < 0 && captionListener != null) {
  captionListener.onCues(Collections.<Cue>emptyList());
 }
}
origin: Dawish/BriskTVLauncher

@Override
public void onCues(List<Cue> cues) {
 if (captionListener != null && getSelectedTrack(TYPE_TEXT) != TRACK_DISABLED) {
  captionListener.onCues(cues);
 }
}
origin: Dreamxiaoxuan/AndroidTvDemo

public void setSelectedTrack(int type, int index) {
 player.setSelectedTrack(type, index);
 if (type == TYPE_TEXT && index < 0 && captionListener != null) {
  captionListener.onCues(Collections.<Cue>emptyList());
 }
}
tv.danmaku.ijk.media.exo.demo.playerDemoPlayer$CaptionListener

Javadoc

A listener for receiving notifications of timed text.

Most used methods

  • onCues

Popular in Java

  • Running tasks concurrently on multiple threads
  • getContentResolver (Context)
  • orElseThrow (Optional)
  • onCreateOptionsMenu (Activity)
  • PrintStream (java.io)
    A PrintStream adds functionality to another output stream, namely the ability to print representatio
  • InetAddress (java.net)
    This class represents an Internet Protocol (IP) address. An IP address is either a 32-bit or 128-bit
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • ResourceBundle (java.util)
    Resource bundles contain locale-specific objects. When your program needs a locale-specific resource
  • LogFactory (org.apache.commons.logging)
    A minimal incarnation of Apache Commons Logging's LogFactory API, providing just the common Log look
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now