다음을 통해 공유


MediaPlayer.IOnTimedMetaDataAvailableListener.OnTimedMetaDataAvailable Method

Definition

Called to indicate avaliable timed metadata

[Android.Runtime.Register("onTimedMetaDataAvailable", "(Landroid/media/MediaPlayer;Landroid/media/TimedMetaData;)V", "GetOnTimedMetaDataAvailable_Landroid_media_MediaPlayer_Landroid_media_TimedMetaData_Handler:Android.Media.MediaPlayer/IOnTimedMetaDataAvailableListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=23)]
public void OnTimedMetaDataAvailable (Android.Media.MediaPlayer? mp, Android.Media.TimedMetaData? data);
[<Android.Runtime.Register("onTimedMetaDataAvailable", "(Landroid/media/MediaPlayer;Landroid/media/TimedMetaData;)V", "GetOnTimedMetaDataAvailable_Landroid_media_MediaPlayer_Landroid_media_TimedMetaData_Handler:Android.Media.MediaPlayer/IOnTimedMetaDataAvailableListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=23)>]
abstract member OnTimedMetaDataAvailable : Android.Media.MediaPlayer * Android.Media.TimedMetaData -> unit

Parameters

mp
MediaPlayer

the MediaPlayer associated with this callback

data
TimedMetaData

the timed metadata sample associated with this event

Attributes

Remarks

Called to indicate avaliable timed metadata

This method will be called as timed metadata is extracted from the media, in the same order as it occurs in the media. The timing of this event is not controlled by the associated timestamp.

Java documentation for android.media.MediaPlayer.OnTimedMetaDataAvailableListener.onTimedMetaDataAvailable(android.media.MediaPlayer, android.media.TimedMetaData).

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