Android
android.media
public static interface

android.media.MediaPlayer.OnCompletionListener

android.media.MediaPlayer.OnCompletionListener

Interface definition for a callback to be invoked when playback of a media file has completed.

Summary

Public Methods

          void  onCompletion(MediaPlayer mp)
Called when the end of a media file is reached during playback.

Details

Public Methods

public void onCompletion(MediaPlayer mp)

Called when the end of a media file is reached during playback.

Parameters

mp the MediaPlayer that reached the end of the file
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56