Build 1.0_r1(from source)

android.media
Interface MediaPlayer.OnCompletionListener

Enclosing class:
MediaPlayer

public static interface MediaPlayer.OnCompletionListener

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


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

Method Detail

onCompletion

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

Build 1.0_r1(from source)

Please submit a feedback, bug or feature