public static enum Constants.MediaPlayerReason extends java.lang.Enum<Constants.MediaPlayerReason>
Enum Constant and Description |
---|
PLAY_REASON_SRC_BUFFER_UNDERFLOW
Insufficient buffer data
|
PLAYER_REASON_CODEC_NOT_SUPPORTED
Decoder codec not supported
|
PLAYER_REASON_INTERNAL
Internel error
|
PLAYER_REASON_INTERRUPTED
Url not found
|
PLAYER_REASON_INVALID_ARGUMENTS
The parameter is incorrect
|
PLAYER_REASON_INVALID_CONNECTION_STATE
Invalid connection state
|
PLAYER_REASON_INVALID_MEDIA_SOURCE
Media source is invalid
|
PLAYER_REASON_INVALID_STATE
Internal state error
|
PLAYER_REASON_IP_EXPIRED
ip expired
|
PLAYER_REASON_NO_RESOURCE
No resource error
|
PLAYER_REASON_NONE
No error
|
PLAYER_REASON_NOT_SUPPORTED
format not support
|
PLAYER_REASON_OBJ_NOT_INITIALIZED
Object is not initialized
|
PLAYER_REASON_TOKEN_EXPIRED
token expired
|
PLAYER_REASON_UNKNOWN
Error unknown
|
PLAYER_REASON_UNKNOWN_STREAM_TYPE
Unknown stream type
|
PLAYER_REASON_URL_NOT_FOUND
Url not found
|
PLAYER_REASON_VIDEO_RENDER_FAILED
Video renderer is invalid
|
Modifier and Type | Method and Description |
---|---|
static Constants.MediaPlayerReason |
fromNativeIndex(int nativeIndex) |
static Constants.MediaPlayerReason |
getErrorByValue(int value) |
static int |
getValue(Constants.MediaPlayerReason type) |
static Constants.MediaPlayerReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.MediaPlayerReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.MediaPlayerReason PLAYER_REASON_NONE
public static final Constants.MediaPlayerReason PLAYER_REASON_INVALID_ARGUMENTS
public static final Constants.MediaPlayerReason PLAYER_REASON_INTERNAL
public static final Constants.MediaPlayerReason PLAYER_REASON_NO_RESOURCE
public static final Constants.MediaPlayerReason PLAYER_REASON_INVALID_MEDIA_SOURCE
public static final Constants.MediaPlayerReason PLAYER_REASON_UNKNOWN_STREAM_TYPE
public static final Constants.MediaPlayerReason PLAYER_REASON_OBJ_NOT_INITIALIZED
public static final Constants.MediaPlayerReason PLAYER_REASON_CODEC_NOT_SUPPORTED
public static final Constants.MediaPlayerReason PLAYER_REASON_VIDEO_RENDER_FAILED
public static final Constants.MediaPlayerReason PLAYER_REASON_INVALID_STATE
public static final Constants.MediaPlayerReason PLAYER_REASON_URL_NOT_FOUND
public static final Constants.MediaPlayerReason PLAYER_REASON_INVALID_CONNECTION_STATE
public static final Constants.MediaPlayerReason PLAY_REASON_SRC_BUFFER_UNDERFLOW
public static final Constants.MediaPlayerReason PLAYER_REASON_INTERRUPTED
public static final Constants.MediaPlayerReason PLAYER_REASON_NOT_SUPPORTED
public static final Constants.MediaPlayerReason PLAYER_REASON_TOKEN_EXPIRED
public static final Constants.MediaPlayerReason PLAYER_REASON_IP_EXPIRED
public static final Constants.MediaPlayerReason PLAYER_REASON_UNKNOWN
public static Constants.MediaPlayerReason[] values()
for (Constants.MediaPlayerReason c : Constants.MediaPlayerReason.values()) System.out.println(c);
public static Constants.MediaPlayerReason 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.MediaPlayerReason type)
public static Constants.MediaPlayerReason fromNativeIndex(int nativeIndex)
public static Constants.MediaPlayerReason getErrorByValue(int value)