MediaPlayer.SetOnMediaTimeDiscontinuityListener 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
SetOnMediaTimeDiscontinuityListener(MediaPlayer+IOnMediaTimeDiscontinuityListener) |
Sets the listener to be invoked when a media time discontinuity is encountered. |
SetOnMediaTimeDiscontinuityListener(MediaPlayer+IOnMediaTimeDiscontinuityListener, Handler) |
Sets the listener to be invoked when a media time discontinuity is encountered. |
SetOnMediaTimeDiscontinuityListener(MediaPlayer+IOnMediaTimeDiscontinuityListener)
Sets the listener to be invoked when a media time discontinuity is encountered.
[Android.Runtime.Register("setOnMediaTimeDiscontinuityListener", "(Landroid/media/MediaPlayer$OnMediaTimeDiscontinuityListener;)V", "GetSetOnMediaTimeDiscontinuityListener_Landroid_media_MediaPlayer_OnMediaTimeDiscontinuityListener_Handler", ApiSince=28)]
public virtual void SetOnMediaTimeDiscontinuityListener (Android.Media.MediaPlayer.IOnMediaTimeDiscontinuityListener? listener);
[<Android.Runtime.Register("setOnMediaTimeDiscontinuityListener", "(Landroid/media/MediaPlayer$OnMediaTimeDiscontinuityListener;)V", "GetSetOnMediaTimeDiscontinuityListener_Landroid_media_MediaPlayer_OnMediaTimeDiscontinuityListener_Handler", ApiSince=28)>]
abstract member SetOnMediaTimeDiscontinuityListener : Android.Media.MediaPlayer.IOnMediaTimeDiscontinuityListener -> unit
override this.SetOnMediaTimeDiscontinuityListener : Android.Media.MediaPlayer.IOnMediaTimeDiscontinuityListener -> unit
Parameters
the listener called after a discontinuity
- 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
SetOnMediaTimeDiscontinuityListener(MediaPlayer+IOnMediaTimeDiscontinuityListener, Handler)
Sets the listener to be invoked when a media time discontinuity is encountered.
[Android.Runtime.Register("setOnMediaTimeDiscontinuityListener", "(Landroid/media/MediaPlayer$OnMediaTimeDiscontinuityListener;Landroid/os/Handler;)V", "GetSetOnMediaTimeDiscontinuityListener_Landroid_media_MediaPlayer_OnMediaTimeDiscontinuityListener_Landroid_os_Handler_Handler", ApiSince=28)]
public virtual void SetOnMediaTimeDiscontinuityListener (Android.Media.MediaPlayer.IOnMediaTimeDiscontinuityListener listener, Android.OS.Handler handler);
[<Android.Runtime.Register("setOnMediaTimeDiscontinuityListener", "(Landroid/media/MediaPlayer$OnMediaTimeDiscontinuityListener;Landroid/os/Handler;)V", "GetSetOnMediaTimeDiscontinuityListener_Landroid_media_MediaPlayer_OnMediaTimeDiscontinuityListener_Landroid_os_Handler_Handler", ApiSince=28)>]
abstract member SetOnMediaTimeDiscontinuityListener : Android.Media.MediaPlayer.IOnMediaTimeDiscontinuityListener * Android.OS.Handler -> unit
override this.SetOnMediaTimeDiscontinuityListener : Android.Media.MediaPlayer.IOnMediaTimeDiscontinuityListener * Android.OS.Handler -> unit
Parameters
the listener called after a discontinuity
- 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.