MediaPlayer.IOnCompletionListener.OnCompletion(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 end of a media source is reached during playback.
[Android.Runtime.Register("onCompletion", "(Landroid/media/MediaPlayer;)V", "GetOnCompletion_Landroid_media_MediaPlayer_Handler:Android.Media.MediaPlayer/IOnCompletionListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnCompletion (Android.Media.MediaPlayer? mp);
[<Android.Runtime.Register("onCompletion", "(Landroid/media/MediaPlayer;)V", "GetOnCompletion_Landroid_media_MediaPlayer_Handler:Android.Media.MediaPlayer/IOnCompletionListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnCompletion : Android.Media.MediaPlayer -> unit
Parameters
- mp
- MediaPlayer
the MediaPlayer that reached the end of the file
- Attributes
Remarks
Called when the end of a media source is reached during 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.