io.vov.vitamio
Interface MediaPlayer.OnInfoListener

Enclosing class:
MediaPlayer

public static interface MediaPlayer.OnInfoListener


Method Summary
 boolean onInfo(MediaPlayer mp, int what, int extra)
          Called to indicate an info or a warning.
 

Method Detail

onInfo

boolean onInfo(MediaPlayer mp,
               int what,
               int extra)
Called to indicate an info or a warning.

Parameters:
mp - the MediaPlayer the info pertains to.
what - the type of info or warning.
extra - an extra code, specific to the info. Typically implementation dependant.
Returns:
True if the method handled the info, false if it didn't. Returning false, or not having an OnErrorListener at all, will cause the info to be discarded.