Code example for MediaPlayer

Methods: setScreenOnWhilePlaying

0
    } 
 
    @Override 
    public void enableLog(boolean enable) {
        // not support 
    } 
 
    @Override 
    public boolean isBufferingEnd() { 
        return true; 
    } 
 
    @Override 
    public void onBufferingUpdate(MediaPlayer mp, int percent) {
        if (mOnBufferingUpdateListener != null) { 
            mOnBufferingUpdateListener.onBufferingUpdate(this, percent);
        } 
    } 
 
    @Override 
    public void onCompletion(MediaPlayer mp) {