public static interface MediaPlayer.OnCompletionListener
| android.media.MediaPlayer.OnCompletionListener |
在媒体源播放完成时调用回调的接口定义。
公共方法(Public methods) |
|
|---|---|
abstract void |
onCompletion(MediaPlayer mp) 在播放期间到达媒体源的末尾时调用。 |
void onCompletion (MediaPlayer mp)
在播放期间到达媒体源的末尾时调用。
| 参数(Parameters) | |
|---|---|
mp |
MediaPlayer: the MediaPlayer that reached the end of the file |