Compartilhar via


MediaPlayer.SetOnTimedTextListener(MediaPlayer+IOnTimedTextListener) Method

Definition

Register a callback to be invoked when a timed text is available for display.

[Android.Runtime.Register("setOnTimedTextListener", "(Landroid/media/MediaPlayer$OnTimedTextListener;)V", "GetSetOnTimedTextListener_Landroid_media_MediaPlayer_OnTimedTextListener_Handler")]
public virtual void SetOnTimedTextListener (Android.Media.MediaPlayer.IOnTimedTextListener? listener);
[<Android.Runtime.Register("setOnTimedTextListener", "(Landroid/media/MediaPlayer$OnTimedTextListener;)V", "GetSetOnTimedTextListener_Landroid_media_MediaPlayer_OnTimedTextListener_Handler")>]
abstract member SetOnTimedTextListener : Android.Media.MediaPlayer.IOnTimedTextListener -> unit
override this.SetOnTimedTextListener : Android.Media.MediaPlayer.IOnTimedTextListener -> unit

Parameters

listener
MediaPlayer.IOnTimedTextListener

the callback that will be run

Attributes

Remarks

Java documentation for android.media.MediaPlayer.setOnTimedTextListener(android.media.OnTimedTextListener).

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