MediaPlayer.IOnPreparedListener.OnPrepared(MediaPlayer) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when the media file is ready for playback.
[Android.Runtime.Register("onPrepared", "(Landroid/media/MediaPlayer;)V", "GetOnPrepared_Landroid_media_MediaPlayer_Handler:Android.Media.MediaPlayer/IOnPreparedListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnPrepared (Android.Media.MediaPlayer? mp);
[<Android.Runtime.Register("onPrepared", "(Landroid/media/MediaPlayer;)V", "GetOnPrepared_Landroid_media_MediaPlayer_Handler:Android.Media.MediaPlayer/IOnPreparedListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnPrepared : Android.Media.MediaPlayer -> unit
Parameters
- mp
- MediaPlayer
the MediaPlayer that is ready for playback
- Attributes
Remarks
Called when the media file is ready for playback.
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.