Code example for MediaPlayer.OnErrorListener

Methods: onError

0
  public boolean onError(MediaPlayer paramMediaPlayer, int paramInt1, int paramInt2)
  { 
    this.mCurrentState = 8;
    this.mStatusListener.error();
    if (this.mOnErrorListener != null);
    for (boolean bool = this.mOnErrorListener.onError(paramMediaPlayer, paramInt1, paramInt2); ; bool = false)
      return bool;
  } 
 
  public void onPrepared(MediaPlayer paramMediaPlayer)
  { 
    this.mCurrentState = 3;
    this.mStatusListener.prepared();
    if (this.mOnPreparedListener != null)
      this.mOnPreparedListener.onPrepared(paramMediaPlayer);
  } 
 
  public void pause() 
  { 
    super.pause(); 
Experience pair programming with AI  Get Codota for Java