Udostępnij za pośrednictwem


VideoView.SetOnInfoListener(MediaPlayer+IOnInfoListener) Method

Definition

Register a callback to be invoked when an informational event occurs during playback or setup.

[Android.Runtime.Register("setOnInfoListener", "(Landroid/media/MediaPlayer$OnInfoListener;)V", "GetSetOnInfoListener_Landroid_media_MediaPlayer_OnInfoListener_Handler")]
public virtual void SetOnInfoListener (Android.Media.MediaPlayer.IOnInfoListener? l);
[<Android.Runtime.Register("setOnInfoListener", "(Landroid/media/MediaPlayer$OnInfoListener;)V", "GetSetOnInfoListener_Landroid_media_MediaPlayer_OnInfoListener_Handler")>]
abstract member SetOnInfoListener : Android.Media.MediaPlayer.IOnInfoListener -> unit
override this.SetOnInfoListener : Android.Media.MediaPlayer.IOnInfoListener -> unit

Parameters

l
MediaPlayer.IOnInfoListener

The callback that will be run

Attributes

Remarks

Java documentation for android.widget.VideoView.setOnInfoListener(android.media.OnInfoListener).

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