public enum AsyncMedia.MediaErrorType

  1. Object
  2. Enum<AsyncMedia.MediaErrorType>
  3. AsyncMedia.MediaErrorType

ImplementsComparable<AsyncMedia.MediaErrorType>

Enum encapsulating the different types of media errors that can occur.

Enum constants

AbortedThe fetching of the associated resource was aborted by the user’s request.
NetworkSome kind of network error occurred which prevented the media from being successfully fetched, despite having previously been available.
DecodeDespite having previously been determined to be usable, an error occurred while trying to decode the media resource, resulting in an error.
Encode
SrcNotSupportedThe 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

Aborted
The fetching of the associated resource was aborted by the user’s request.

Network

Network
Some kind of network error occurred which prevented the media from being successfully fetched, despite having previously been available.

Decode

Decode
Despite having previously been determined to be usable, an error occurred while trying to decode the media resource, resulting in an error.

Encode

Encode

SrcNotSupported

SrcNotSupported
The associated resource has been found to be unsuitable.

Unknown

Unknown

LineUnavailable

LineUnavailable

Method details

values

public static AsyncMedia.MediaErrorType[] values()

valueOf

public static AsyncMedia.MediaErrorType valueOf(String name)