MediaPlayer.IOnMediaTimeDiscontinuityListener.OnMediaTimeDiscontinuity 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 a time discontinuity has occured.
[Android.Runtime.Register("onMediaTimeDiscontinuity", "(Landroid/media/MediaPlayer;Landroid/media/MediaTimestamp;)V", "GetOnMediaTimeDiscontinuity_Landroid_media_MediaPlayer_Landroid_media_MediaTimestamp_Handler:Android.Media.MediaPlayer/IOnMediaTimeDiscontinuityListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=28)]
public void OnMediaTimeDiscontinuity (Android.Media.MediaPlayer mp, Android.Media.MediaTimestamp mts);
[<Android.Runtime.Register("onMediaTimeDiscontinuity", "(Landroid/media/MediaPlayer;Landroid/media/MediaTimestamp;)V", "GetOnMediaTimeDiscontinuity_Landroid_media_MediaPlayer_Landroid_media_MediaTimestamp_Handler:Android.Media.MediaPlayer/IOnMediaTimeDiscontinuityListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=28)>]
abstract member OnMediaTimeDiscontinuity : Android.Media.MediaPlayer * Android.Media.MediaTimestamp -> unit
Parameters
- mp
- MediaPlayer
the MediaPlayer for which the discontinuity has occured.
- mts
- MediaTimestamp
the timestamp that correlates media time, system time and clock rate,
or MediaTimestamp#TIMESTAMP_UNKNOWN
in an error case.
- Attributes
Remarks
Called to indicate a time discontinuity has occured.
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.