Most visited

Recently visited

Added in API level 1

MediaPlayer.OnPreparedListener

public static interface MediaPlayer.OnPreparedListener

android.media.MediaPlayer.OnPreparedListener


当媒体源准备好播放时调用回调的接口定义。

Summary

Public methods

abstract void onPrepared(MediaPlayer mp)

媒体文件准备好播放时调用。

Public methods

onPrepared

Added in API level 1
void onPrepared (MediaPlayer mp)

媒体文件准备好播放时调用。

Parameters
mp MediaPlayer: the MediaPlayer that is ready for playback

Hooray!