public static enum StandardResponse.DetailedErrorCode extends Enum<StandardResponse.DetailedErrorCode>
| Enum Constant and Description |
|---|
APP
Returned when an error occurs outside of the framework (e.g., if an
event handler throws an error)
|
BREAK_CLIP_LOADING_ERROR
Returned when break clip load interceptor fails
|
BREAK_SEEK_INTERCEPTOR_ERROR
Returned when break seek interceptor fails
|
DASH_INVALID_SEGMENT_INFO
Returned when a DASH manifest contains invalid segment info
|
DASH_MANIFEST_NO_MIMETYPE
Returned when a DASH manifest is missing a MimeType
|
DASH_MANIFEST_NO_PERIODS
Returned when a DASH manifest is missing periods
|
DASH_MANIFEST_UNKNOWN
Returned when an unknown error occurs while parsing a DASH manifest
|
DASH_NETWORK
Returned when an unknown network error occurs while handling a DASH
stream
|
DASH_NO_INIT
Returned when a DASH stream is missing an init
|
GENERIC
Returned when an unknown error occurs
|
HLS_MANIFEST_MASTER
Returned when an error occurs while parsing an HLS master manifest
|
HLS_MANIFEST_PLAYLIST
Returned when an error occurs while parsing an HLS playlist
|
HLS_NETWORK_INVALID_SEGMENT
Returned when an HLS segment is invalid
|
HLS_NETWORK_KEY_LOAD
Returned when a request for an HLS key fails before it is sent
|
HLS_NETWORK_MASTER_PLAYLIST
Returned when an HLS master playlist fails to download
|
HLS_NETWORK_NO_KEY_RESPONSE
Returned when an HLS key fails to download
|
HLS_NETWORK_PLAYLIST
Returned when an HLS playlist fails to download
|
HLS_SEGMENT_PARSING
Returned when an HLS segment fails to parse
|
IMAGE_ERROR
Returned when an image fails to load
|
LOAD_FAILED
A load command failed
|
LOAD_INTERRUPTED
A load was interrupted by an unload, or by another load
|
MANIFEST_UNKNOWN
Returned when an unknown error occurs while parsing a manifest
|
MEDIA_ABORTED
Returned when the fetching process for the media resource was aborted
by the user agent at the user's request
|
MEDIA_DECODE
Returned when an error occurred while decoding the media resource,
after the resource was established to be usable
|
MEDIA_ERROR_MESSAGE
An error message was sent to the sender
|
MEDIA_NETWORK
Returned when a network error caused the user agent to stop fetching
the media resource, after the resource was established to be usable
|
MEDIA_SRC_NOT_SUPPORTED
Returned when the media resource indicated by the src attribute was
not suitable
|
MEDIA_UNKNOWN
Returned when the HTMLMediaElement throws an error, but the specified
error isn't recognized
|
MEDIAKEYS_NETWORK
Returned when there is a media keys failure due to a network issue
|
MEDIAKEYS_UNKNOWN
Returned when there is an unknown error with media keys
|
MEDIAKEYS_UNSUPPORTED
Returned when a MediaKeySession object cannot be created
|
MEDIAKEYS_WEBCRYPTO
Returned when crypto failed
|
NETWORK_UNKNOWN
Returned when there was an unknown network issue
|
SEGMENT_NETWORK
Returned when a segment fails to download
|
SEGMENT_UNKNOWN
Returned when an unknown segment error occurs
|
SMOOTH_MANIFEST
Returned when an error occurs while parsing a Smooth manifest
|
SMOOTH_NETWORK
Returned when an unknown network error occurs while handling a Smooth
stream
|
SMOOTH_NO_MEDIA_DATA
Returned when a Smooth stream is missing media data
|
SOURCE_BUFFER_FAILURE
Returned when a source buffer cannot be added to the MediaSource
|
TEXT_UNKNOWN
An unknown error occurred with a text stream
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
static StandardResponse.DetailedErrorCode |
typeOf(int code)
Returns the
StandardResponse.DetailedErrorCode that corresponds to the
specified integer code, or null if nothing corresponds. |
static StandardResponse.DetailedErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StandardResponse.DetailedErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StandardResponse.DetailedErrorCode MEDIA_UNKNOWN
public static final StandardResponse.DetailedErrorCode MEDIA_ABORTED
public static final StandardResponse.DetailedErrorCode MEDIA_DECODE
public static final StandardResponse.DetailedErrorCode MEDIA_NETWORK
public static final StandardResponse.DetailedErrorCode MEDIA_SRC_NOT_SUPPORTED
public static final StandardResponse.DetailedErrorCode SOURCE_BUFFER_FAILURE
public static final StandardResponse.DetailedErrorCode MEDIAKEYS_UNKNOWN
public static final StandardResponse.DetailedErrorCode MEDIAKEYS_NETWORK
public static final StandardResponse.DetailedErrorCode MEDIAKEYS_UNSUPPORTED
public static final StandardResponse.DetailedErrorCode MEDIAKEYS_WEBCRYPTO
public static final StandardResponse.DetailedErrorCode NETWORK_UNKNOWN
public static final StandardResponse.DetailedErrorCode SEGMENT_NETWORK
public static final StandardResponse.DetailedErrorCode HLS_NETWORK_MASTER_PLAYLIST
public static final StandardResponse.DetailedErrorCode HLS_NETWORK_PLAYLIST
public static final StandardResponse.DetailedErrorCode HLS_NETWORK_NO_KEY_RESPONSE
public static final StandardResponse.DetailedErrorCode HLS_NETWORK_KEY_LOAD
public static final StandardResponse.DetailedErrorCode HLS_NETWORK_INVALID_SEGMENT
public static final StandardResponse.DetailedErrorCode HLS_SEGMENT_PARSING
public static final StandardResponse.DetailedErrorCode DASH_NETWORK
public static final StandardResponse.DetailedErrorCode DASH_NO_INIT
public static final StandardResponse.DetailedErrorCode SMOOTH_NETWORK
public static final StandardResponse.DetailedErrorCode SMOOTH_NO_MEDIA_DATA
public static final StandardResponse.DetailedErrorCode MANIFEST_UNKNOWN
public static final StandardResponse.DetailedErrorCode HLS_MANIFEST_MASTER
public static final StandardResponse.DetailedErrorCode HLS_MANIFEST_PLAYLIST
public static final StandardResponse.DetailedErrorCode DASH_MANIFEST_UNKNOWN
public static final StandardResponse.DetailedErrorCode DASH_MANIFEST_NO_PERIODS
public static final StandardResponse.DetailedErrorCode DASH_MANIFEST_NO_MIMETYPE
public static final StandardResponse.DetailedErrorCode DASH_INVALID_SEGMENT_INFO
public static final StandardResponse.DetailedErrorCode SMOOTH_MANIFEST
public static final StandardResponse.DetailedErrorCode SEGMENT_UNKNOWN
public static final StandardResponse.DetailedErrorCode TEXT_UNKNOWN
public static final StandardResponse.DetailedErrorCode APP
public static final StandardResponse.DetailedErrorCode BREAK_CLIP_LOADING_ERROR
public static final StandardResponse.DetailedErrorCode BREAK_SEEK_INTERCEPTOR_ERROR
public static final StandardResponse.DetailedErrorCode IMAGE_ERROR
public static final StandardResponse.DetailedErrorCode LOAD_INTERRUPTED
public static final StandardResponse.DetailedErrorCode LOAD_FAILED
public static final StandardResponse.DetailedErrorCode MEDIA_ERROR_MESSAGE
public static final StandardResponse.DetailedErrorCode GENERIC
public static StandardResponse.DetailedErrorCode[] values()
for (StandardResponse.DetailedErrorCode c : StandardResponse.DetailedErrorCode.values()) System.out.println(c);
public static StandardResponse.DetailedErrorCode 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 nullpublic int getCode()
StandardResponse.DetailedErrorCode.@Nullable public static StandardResponse.DetailedErrorCode typeOf(int code)
StandardResponse.DetailedErrorCode that corresponds to the
specified integer code, or null if nothing corresponds.code - the integer code whose corresponding
StandardResponse.DetailedErrorCode to find.StandardResponse.DetailedErrorCode or null.Copyright © 2022. All rights reserved.