public static enum Constants.MediaPlayerError extends java.lang.Enum<Constants.MediaPlayerError>
Enum Constant and Description |
---|
PLAY_ERROR_SRC_BUFFER_UNDERFLOW
Insufficient buffer data
|
PLAYER_ERROR_CODEC_NOT_SUPPORTED
Decoder codec not supported
|
PLAYER_ERROR_INTERNAL
Internel error
|
PLAYER_ERROR_INTERRUPTED
Url not found
|
PLAYER_ERROR_INVALID_ARGUMENTS
The parameter is incorrect
|
PLAYER_ERROR_INVALID_CONNECTION_STATE
Invalid connection state
|
PLAYER_ERROR_INVALID_MEDIA_SOURCE
Media source is invalid
|
PLAYER_ERROR_INVALID_STATE
Internal state error
|
PLAYER_ERROR_IP_EXPIRED
ip expired
|
PLAYER_ERROR_NO_RESOURCE
No resource error
|
PLAYER_ERROR_NONE
No error
|
PLAYER_ERROR_NOT_SUPPORTED
format not support
|
PLAYER_ERROR_OBJ_NOT_INITIALIZED
Object is not initialized
|
PLAYER_ERROR_TOKEN_EXPIRED
token expired
|
PLAYER_ERROR_UNKNOWN
Error unknown
|
PLAYER_ERROR_UNKNOWN_STREAM_TYPE
Unknown stream type
|
PLAYER_ERROR_URL_NOT_FOUND
Url not found
|
PLAYER_ERROR_VIDEO_RENDER_FAILED
Video renderer is invalid
|
Modifier and Type | Method and Description |
---|---|
static Constants.MediaPlayerError |
fromNativeIndex(int nativeIndex) |
static Constants.MediaPlayerError |
getErrorByValue(int value) |
static int |
getValue(Constants.MediaPlayerError type) |
static Constants.MediaPlayerError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.MediaPlayerError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.MediaPlayerError PLAYER_ERROR_NONE
public static final Constants.MediaPlayerError PLAYER_ERROR_INVALID_ARGUMENTS
public static final Constants.MediaPlayerError PLAYER_ERROR_INTERNAL
public static final Constants.MediaPlayerError PLAYER_ERROR_NO_RESOURCE
public static final Constants.MediaPlayerError PLAYER_ERROR_INVALID_MEDIA_SOURCE
public static final Constants.MediaPlayerError PLAYER_ERROR_UNKNOWN_STREAM_TYPE
public static final Constants.MediaPlayerError PLAYER_ERROR_OBJ_NOT_INITIALIZED
public static final Constants.MediaPlayerError PLAYER_ERROR_CODEC_NOT_SUPPORTED
public static final Constants.MediaPlayerError PLAYER_ERROR_VIDEO_RENDER_FAILED
public static final Constants.MediaPlayerError PLAYER_ERROR_INVALID_STATE
public static final Constants.MediaPlayerError PLAYER_ERROR_URL_NOT_FOUND
public static final Constants.MediaPlayerError PLAYER_ERROR_INVALID_CONNECTION_STATE
public static final Constants.MediaPlayerError PLAY_ERROR_SRC_BUFFER_UNDERFLOW
public static final Constants.MediaPlayerError PLAYER_ERROR_INTERRUPTED
public static final Constants.MediaPlayerError PLAYER_ERROR_NOT_SUPPORTED
public static final Constants.MediaPlayerError PLAYER_ERROR_TOKEN_EXPIRED
public static final Constants.MediaPlayerError PLAYER_ERROR_IP_EXPIRED
public static final Constants.MediaPlayerError PLAYER_ERROR_UNKNOWN
public static Constants.MediaPlayerError[] values()
for (Constants.MediaPlayerError c : Constants.MediaPlayerError.values()) System.out.println(c);
public static Constants.MediaPlayerError valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static int getValue(Constants.MediaPlayerError type)
public static Constants.MediaPlayerError fromNativeIndex(int nativeIndex)
public static Constants.MediaPlayerError getErrorByValue(int value)