java.lang.Object | ||
↳ | com.google.gwt.core.client.JavaScriptObject | |
↳ | com.google.gwt.media.dom.client.MediaError |
A JavaScriptObject
indicating the type of error encountered by a
MediaElement
.
Experimental API: This API is still under development and is subject to change.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | MEDIA_ERR_ABORTED | A constant returned by getCode() indicating that playback
was aborted at the user's request. |
|||||||||
int | MEDIA_ERR_DECODE | A constant returned by getCode() indicating that playback
was aborted due to an error in decoding. |
|||||||||
int | MEDIA_ERR_NETWORK | A constant returned by getCode() indicating that playback
was aborted due to a network error. |
|||||||||
int | MEDIA_ERR_SRC_NOT_SUPPORTED | A constant returned by getCode() indicating that the format
of the source stream was unsuitable for playback. |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns an error code indicating the reason for the error.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.core.client.JavaScriptObject
| |||||||||||
From class
java.lang.Object
|
A constant returned by getCode()
indicating that playback
was aborted at the user's request.
A constant returned by getCode()
indicating that playback
was aborted due to an error in decoding.
A constant returned by getCode()
indicating that playback
was aborted due to a network error.
A constant returned by getCode()
indicating that the format
of the source stream was unsuitable for playback.
Returns an error code indicating the reason for the error.