MediaPlayer.IOnSubtitleDataListener.OnSubtitleData 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.
Method called when new subtitle data is available
[Android.Runtime.Register("onSubtitleData", "(Landroid/media/MediaPlayer;Landroid/media/SubtitleData;)V", "GetOnSubtitleData_Landroid_media_MediaPlayer_Landroid_media_SubtitleData_Handler:Android.Media.MediaPlayer/IOnSubtitleDataListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=28)]
public void OnSubtitleData (Android.Media.MediaPlayer mp, Android.Media.SubtitleData data);
[<Android.Runtime.Register("onSubtitleData", "(Landroid/media/MediaPlayer;Landroid/media/SubtitleData;)V", "GetOnSubtitleData_Landroid_media_MediaPlayer_Landroid_media_SubtitleData_Handler:Android.Media.MediaPlayer/IOnSubtitleDataListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=28)>]
abstract member OnSubtitleData : Android.Media.MediaPlayer * Android.Media.SubtitleData -> unit
Parameters
- mp
- MediaPlayer
the player that reports the new subtitle data
- data
- SubtitleData
the subtitle data
- Attributes
Remarks
Method called when new subtitle data is available
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.