Package 

Interface OnBufferUpdateListener


  • 
    public interface OnBufferUpdateListener
    
                        

    Interface definition of a callback to be invoked indicating buffering status of a media resource being streamed.

    • Method Summary

      Modifier and Type Method Description
      abstract void onBufferingUpdate(int percent) Called to update status in buffering a media stream.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onBufferingUpdate

         abstract void onBufferingUpdate(int percent)

        Called to update status in buffering a media stream. The received buffering percentage indicates how much of the content has been buffered or played. For example a buffering update of 80 percent when half the content has already been played indicates that the next 30 percent of the content to play has been buffered.

        Parameters:
        percent - The integer percent that is buffered [0, 100] inclusive