public static enum AsyncMedia.MediaErrorType extends Enum<AsyncMedia.MediaErrorType>
Enum Constant and Description |
---|
Aborted
The fetching of the associated resource was aborted by the user's request.
|
Decode
Despite having previously been determined to be usable, an error occurred while trying to decode the media resource, resulting in an error.
|
Encode |
LineUnavailable |
Network
Some kind of network error occurred which prevented the media from being successfully fetched, despite having previously been available.
|
SrcNotSupported
The associated resource has been found to be unsuitable.
|
Unknown |
Modifier and Type | Method and Description |
---|---|
static AsyncMedia.MediaErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AsyncMedia.MediaErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, getDeclaringClass, getEnumValues, hashCode, name, ordinal, setEnumValues, toString, valueOf
public static final AsyncMedia.MediaErrorType Aborted
public static final AsyncMedia.MediaErrorType Network
public static final AsyncMedia.MediaErrorType Decode
public static final AsyncMedia.MediaErrorType Encode
public static final AsyncMedia.MediaErrorType SrcNotSupported
public static final AsyncMedia.MediaErrorType Unknown
public static final AsyncMedia.MediaErrorType LineUnavailable
public static AsyncMedia.MediaErrorType[] values()
for (AsyncMedia.MediaErrorType c : AsyncMedia.MediaErrorType.values()) System.out.println(c);
public static AsyncMedia.MediaErrorType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null