android.media.MediaPlayer.OnErrorListener |
Interface definition of a callback to be invoked when there has been an error during an asynchronous operation (other errors will throw exceptions at method call time).
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called to indicate an error.
|
Called to indicate an error.
mp | the MediaPlayer the error pertains to |
---|---|
what | the type of error that has occurred: |
extra | an extra code, specific to the error. Typically implementation dependent. |