Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d07f6a79 authored by Jean-Michel Trivi's avatar Jean-Michel Trivi Committed by Android (Google) Code Review
Browse files

Merge "Bug 4231349 fix error in javadoc for android.media.MediaPlayer"

parents 7aadb8bd ea763069
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -1462,11 +1462,16 @@ public class MediaPlayer
    public interface OnBufferingUpdateListener
    {
        /**
         * Called to update status in buffering a media stream.
         * Called to update status in buffering a media stream received through
         * progressive HTTP download. 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.
         *
         * @param mp      the MediaPlayer the update pertains to
         * @param percent the percentage (0-100) of the buffer
         *                that has been filled thus far
         * @param percent the percentage (0-100) of the content
         *                that has been buffered or played thus far
         */
        void onBufferingUpdate(MediaPlayer mp, int percent);
    }