Bagikan melalui


MediaPlayer.SetOnSeekCompleteListener Method

Definition

Register a callback to be invoked when a seek operation has been completed.

[Android.Runtime.Register("setOnSeekCompleteListener", "(Landroid/media/MediaPlayer$OnSeekCompleteListener;)V", "GetSetOnSeekCompleteListener_Landroid_media_MediaPlayer_OnSeekCompleteListener_Handler")]
public virtual void SetOnSeekCompleteListener (Android.Media.MediaPlayer.IOnSeekCompleteListener? listener);
[<Android.Runtime.Register("setOnSeekCompleteListener", "(Landroid/media/MediaPlayer$OnSeekCompleteListener;)V", "GetSetOnSeekCompleteListener_Landroid_media_MediaPlayer_OnSeekCompleteListener_Handler")>]
abstract member SetOnSeekCompleteListener : Android.Media.MediaPlayer.IOnSeekCompleteListener -> unit
override this.SetOnSeekCompleteListener : Android.Media.MediaPlayer.IOnSeekCompleteListener -> unit

Parameters

listener
MediaPlayer.IOnSeekCompleteListener

the callback that will be run

Attributes

Remarks

Java documentation for android.media.MediaPlayer.setOnSeekCompleteListener(android.media.OnSeekCompleteListener).

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