MediaPlayer.SetOnSubtitleDataListener 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.
Overloads
SetOnSubtitleDataListener(MediaPlayer+IOnSubtitleDataListener) |
Sets the listener to be invoked when a subtitle track has new data available. |
SetOnSubtitleDataListener(MediaPlayer+IOnSubtitleDataListener, Handler) |
Sets the listener to be invoked when a subtitle track has new data available. |
SetOnSubtitleDataListener(MediaPlayer+IOnSubtitleDataListener)
Sets the listener to be invoked when a subtitle track has new data available.
[Android.Runtime.Register("setOnSubtitleDataListener", "(Landroid/media/MediaPlayer$OnSubtitleDataListener;)V", "GetSetOnSubtitleDataListener_Landroid_media_MediaPlayer_OnSubtitleDataListener_Handler", ApiSince=28)]
public virtual void SetOnSubtitleDataListener (Android.Media.MediaPlayer.IOnSubtitleDataListener? listener);
[<Android.Runtime.Register("setOnSubtitleDataListener", "(Landroid/media/MediaPlayer$OnSubtitleDataListener;)V", "GetSetOnSubtitleDataListener_Landroid_media_MediaPlayer_OnSubtitleDataListener_Handler", ApiSince=28)>]
abstract member SetOnSubtitleDataListener : Android.Media.MediaPlayer.IOnSubtitleDataListener -> unit
override this.SetOnSubtitleDataListener : Android.Media.MediaPlayer.IOnSubtitleDataListener -> unit
Parameters
- listener
- MediaPlayer.IOnSubtitleDataListener
the listener called when new data is available
- Attributes
Remarks
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
SetOnSubtitleDataListener(MediaPlayer+IOnSubtitleDataListener, Handler)
Sets the listener to be invoked when a subtitle track has new data available.
[Android.Runtime.Register("setOnSubtitleDataListener", "(Landroid/media/MediaPlayer$OnSubtitleDataListener;Landroid/os/Handler;)V", "GetSetOnSubtitleDataListener_Landroid_media_MediaPlayer_OnSubtitleDataListener_Landroid_os_Handler_Handler", ApiSince=28)]
public virtual void SetOnSubtitleDataListener (Android.Media.MediaPlayer.IOnSubtitleDataListener listener, Android.OS.Handler handler);
[<Android.Runtime.Register("setOnSubtitleDataListener", "(Landroid/media/MediaPlayer$OnSubtitleDataListener;Landroid/os/Handler;)V", "GetSetOnSubtitleDataListener_Landroid_media_MediaPlayer_OnSubtitleDataListener_Landroid_os_Handler_Handler", ApiSince=28)>]
abstract member SetOnSubtitleDataListener : Android.Media.MediaPlayer.IOnSubtitleDataListener * Android.OS.Handler -> unit
override this.SetOnSubtitleDataListener : Android.Media.MediaPlayer.IOnSubtitleDataListener * Android.OS.Handler -> unit
Parameters
- listener
- MediaPlayer.IOnSubtitleDataListener
the listener called when new data is available
- handler
- Handler
- Attributes
Remarks
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.