List of usage examples for android.media MediaPlayer setOnInfoListener
public void setOnInfoListener(OnInfoListener listener)
From source file:com.shinymayhem.radiopresets.ServiceRadioPlayer.java
protected void initializePlayer(MediaPlayer player) { if (LOCAL_LOGV) log("initializePlayer()", "v"); player.setOnPreparedListener(this); player.setOnInfoListener(this); player.setOnCompletionListener(this); player.setOnErrorListener(this); //player.setOnBufferingUpdateListener(this); return;/*w ww . j a v a2s.c o m*/ }