AudioExtras
VideoViewOnErrorListener
Events:
- Error (What As Int, Extra As Int) As Boolean
Fields:
- MEDIA_ERROR_IO As Int
A possible value for the 'Extra' parameter.
- MEDIA_ERROR_MALFORMED As Int
A possible value for the 'Extra' parameter.
- MEDIA_ERROR_SERVER_DIES As Int
A possible value for the 'What' parameter.
- MEDIA_ERROR_TIMED_OUT As Int
A possible value for the 'Extra' parameter.
- MEDIA_ERROR_UNKNOWN As Int
A possible value for the 'What' parameter.
- MEDIA_ERROR_UNSUPPORTED As Int
A possible value for the 'Extra' parameter.
Methods:
- ClearOnErrorListener (VideoView1 As VideoViewWrapper)
Clear any error listener for VideoView1.
- SetOnErrorListener (VideoView1 As VideoViewWrapper, EventName As String)
Create and set an error listener for VideoView1.
The error listener will raise the event:
Error(What As Int, Extra As Int) As Boolean
Your callback must return a Boolean value to indicate whether or not it has consumed the event.