MediaPlayer.IOnBufferingUpdateListener.OnBufferingUpdate(MediaPlayer, Int32) MediaPlayer.IOnBufferingUpdateListener.OnBufferingUpdate(MediaPlayer, Int32) Method

Definition

Called to update status in buffering a media stream received through progressive HTTP download.

[Android.Runtime.Register("onBufferingUpdate", "(Landroid/media/MediaPlayer;I)V", "GetOnBufferingUpdate_Landroid_media_MediaPlayer_IHandler:Android.Media.MediaPlayer/IOnBufferingUpdateListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnBufferingUpdate (Android.Media.MediaPlayer mp, int percent);
abstract member OnBufferingUpdate : Android.Media.MediaPlayer * int -> unit

Parameters

mp
MediaPlayer MediaPlayer

the MediaPlayer the update pertains to

percent
Int32 Int32

the percentage (0-100) of the content that has been buffered or played thus far

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to