@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="MediaError")
public class MediaError
extends JsObject
| Modifier and Type | Field and Description |
|---|---|
static int |
MEDIA_ERR_ABORTED |
static int |
MEDIA_ERR_DECODE |
static int |
MEDIA_ERR_NETWORK |
static int |
MEDIA_ERR_SRC_NOT_SUPPORTED |
| Modifier | Constructor and Description |
|---|---|
protected |
MediaError() |
| Modifier and Type | Method and Description |
|---|---|
int |
code()
The read-only property MediaError.code returns a numeric value which represents the kind of error that occurred on a media element.
|
java.lang.String |
message()
The read-only property MediaError.message returns a DOMString which contains a human-readable string offering specific diagnostic details related to the error described by the MediaError object, or an empty string ("") if no diagnostic information can be determined or provided.
|
assign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, is, isExtensible, isFrozen, isSealed, keys, preventExtensions, seal, setPrototypeOf, valueOf_, values@JsOverlay public static final int MEDIA_ERR_ABORTED
@JsOverlay public static final int MEDIA_ERR_DECODE
@JsOverlay public static final int MEDIA_ERR_NETWORK
@JsOverlay public static final int MEDIA_ERR_SRC_NOT_SUPPORTED
@JsProperty(name="code") @MediaErrorCode public int code()
@JsProperty(name="message") @Nonnull public java.lang.String message()