Megosztás a következőn keresztül:


VideoView.SetOnCompletionListener(MediaPlayer+IOnCompletionListener) Method

Definition

Register a callback to be invoked when the end of a media file has been reached during playback.

[Android.Runtime.Register("setOnCompletionListener", "(Landroid/media/MediaPlayer$OnCompletionListener;)V", "GetSetOnCompletionListener_Landroid_media_MediaPlayer_OnCompletionListener_Handler")]
public virtual void SetOnCompletionListener (Android.Media.MediaPlayer.IOnCompletionListener? l);
[<Android.Runtime.Register("setOnCompletionListener", "(Landroid/media/MediaPlayer$OnCompletionListener;)V", "GetSetOnCompletionListener_Landroid_media_MediaPlayer_OnCompletionListener_Handler")>]
abstract member SetOnCompletionListener : Android.Media.MediaPlayer.IOnCompletionListener -> unit
override this.SetOnCompletionListener : Android.Media.MediaPlayer.IOnCompletionListener -> unit

Parameters

l
MediaPlayer.IOnCompletionListener

The callback that will be run

Attributes

Remarks

Java documentation for android.widget.VideoView.setOnCompletionListener(android.media.OnCompletionListener).

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