public enum AsyncMedia.MediaErrorType
- Object
- Enum<AsyncMedia.MediaErrorType>
- AsyncMedia.MediaErrorType
ImplementsComparable<AsyncMedia.MediaErrorType>
Enum encapsulating the different types of media errors that can occur.
Enum constants
Aborted | The fetching of the associated resource was aborted by the user’s request. |
Network | Some kind of network error occurred which prevented the media from being successfully fetched, despite having previously been available. |
Decode | Despite having previously been determined to be usable, an error occurred while trying to decode the media resource, resulting in an error. |
Encode | |
SrcNotSupported | The associated resource has been found to be unsuitable. |
Unknown | |
LineUnavailable |
Methods
public static AsyncMedia.MediaErrorType[] values() | |
public static AsyncMedia.MediaErrorType valueOf(String name) |
Inherited methods
Enum constant details
Aborted
AbortedThe fetching of the associated resource was aborted by the user’s request.
Network
NetworkSome kind of network error occurred which prevented the media from being successfully fetched, despite having previously been available.
Decode
DecodeDespite having previously been determined to be usable, an error occurred while trying to decode the media resource, resulting in an error.
Encode
EncodeSrcNotSupported
SrcNotSupportedThe associated resource has been found to be unsuitable.
Unknown
UnknownMethod details
values
public static AsyncMedia.MediaErrorType[] values()valueOf
public static AsyncMedia.MediaErrorType valueOf(String name)