Compartir a través de


MediaPlayer.IOnSubtitleDataListener.OnSubtitleData Method

Definition

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

Java documentation for android.media.MediaPlayer.OnSubtitleDataListener.onSubtitleData(android.media.MediaPlayer, android.media.SubtitleData).

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