MediaPlayer.IOnTimedTextListener.OnTimedText(MediaPlayer, TimedText) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.