次の方法で共有


MediaPlayer.IOnMediaTimeDiscontinuityListener.OnMediaTimeDiscontinuity Method

Definition

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.

Java documentation for android.media.MediaPlayer.OnMediaTimeDiscontinuityListener.onMediaTimeDiscontinuity(android.media.MediaPlayer, android.media.MediaTimestamp).

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