Sdílet prostřednictvím


MediaPlayer.IOnTimedTextListener.OnTimedText(MediaPlayer, TimedText) Method

Definition

Called to indicate an avaliable timed text

[Android.Runtime.Register("onTimedText", "(Landroid/media/MediaPlayer;Landroid/media/TimedText;)V", "GetOnTimedText_Landroid_media_MediaPlayer_Landroid_media_TimedText_Handler:Android.Media.MediaPlayer/IOnTimedTextListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnTimedText (Android.Media.MediaPlayer? mp, Android.Media.TimedText? text);
[<Android.Runtime.Register("onTimedText", "(Landroid/media/MediaPlayer;Landroid/media/TimedText;)V", "GetOnTimedText_Landroid_media_MediaPlayer_Landroid_media_TimedText_Handler:Android.Media.MediaPlayer/IOnTimedTextListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnTimedText : Android.Media.MediaPlayer * Android.Media.TimedText -> unit

Parameters

mp
MediaPlayer

the MediaPlayer associated with this callback

text
TimedText

the timed text sample which contains the text needed to be displayed and the display format.

Attributes

Remarks

Called to indicate an avaliable timed text

Java documentation for android.media.MediaPlayer.OnTimedTextListener.onTimedText(android.media.MediaPlayer, android.media.TimedText).

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