Register a callback to be invoked when the end of a media source
has been reached during playback.
Syntax
[Android.Runtime.Register("setOnCompletionListener", "(Landroid/media/MediaPlayer$OnCompletionListener;)V", "GetSetOnCompletionListener_Landroid_media_MediaPlayer_OnCompletionListener_Handler")]
public virtual
void SetOnCompletionListener (
MediaPlayer.IOnCompletionListener listener)
Parameters
- listener
- the callback that will be run
Remarks
Requirements
Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1