public interface OnErrorListener
| Modifier and Type | Method and Description |
|---|---|
boolean |
onError(java.lang.Exception e)
Called to indicate an error has occurred.
|
boolean onError(java.lang.Exception e)
MediaPlayer e should
be of the type NativeMediaPlaybackException
while all other exceptions will be provided by the com.google.android.exoplayer2.ExoPlayer
implementation directly.e - The Exception that caused or describes the error