共用方式為


MediaPlayer.SetOnTimedMetaDataAvailableListener Method

Definition

Register a callback to be invoked when a selected track has timed metadata available.

[Android.Runtime.Register("setOnTimedMetaDataAvailableListener", "(Landroid/media/MediaPlayer$OnTimedMetaDataAvailableListener;)V", "GetSetOnTimedMetaDataAvailableListener_Landroid_media_MediaPlayer_OnTimedMetaDataAvailableListener_Handler", ApiSince=23)]
public virtual void SetOnTimedMetaDataAvailableListener (Android.Media.MediaPlayer.IOnTimedMetaDataAvailableListener? listener);
[<Android.Runtime.Register("setOnTimedMetaDataAvailableListener", "(Landroid/media/MediaPlayer$OnTimedMetaDataAvailableListener;)V", "GetSetOnTimedMetaDataAvailableListener_Landroid_media_MediaPlayer_OnTimedMetaDataAvailableListener_Handler", ApiSince=23)>]
abstract member SetOnTimedMetaDataAvailableListener : Android.Media.MediaPlayer.IOnTimedMetaDataAvailableListener -> unit
override this.SetOnTimedMetaDataAvailableListener : Android.Media.MediaPlayer.IOnTimedMetaDataAvailableListener -> unit

Parameters

listener
MediaPlayer.IOnTimedMetaDataAvailableListener

the callback that will be run

Attributes

Remarks

Java documentation for android.media.MediaPlayer.setOnTimedMetaDataAvailableListener(android.media.OnTimedMetaDataAvailableListener).

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