public static interface BVideoView.OnErrorListener
Modifier and Type | Method and Description |
---|---|
boolean |
onError(int what,
int extra)
Called to indicate an error.
|
boolean onError(int what, int extra)
what
- the type of error that has occurred:
MEDIA_ERROR_UNKNOWN, MEDIA_ERROR_NO_INPUTFILE, MEDIA_ERROR_INVALID_INPUTFILE,
MEDIA_ERROR_NO_SUPPORTED_CODEC, MEDIA_ERROR_DISPLAYextra
- an extra code, specific to the error.
Typically implementation dependent.
MEDIA_ERROR_IO, MEDIA_ERROR_MALFORMED, MEDIA_ERROR_UNSUPPORTED, MEDIA_ERROR_TIMED_OUT