public static enum Constants.MediaPlayerState extends java.lang.Enum<Constants.MediaPlayerState>
Enum Constant and Description |
---|
PLAYER_STATE_DO_NOTHING_INTERNAL
Do nothing state for state machine (internal)
|
PLAYER_STATE_FAILED
Player failed
|
PLAYER_STATE_GETTING_INTERNAL
Player getting state (internal)
|
PLAYER_STATE_IDLE
Player idle
|
PLAYER_STATE_NONE_INTERNAL
None state for state machine (internal)
|
PLAYER_STATE_OPEN_COMPLETED
Media file opened successfully
|
PLAYER_STATE_OPENING
Opening media file
|
PLAYER_STATE_PAUSED
Player paused
|
PLAYER_STATE_PAUSING_INTERNAL
Player pausing (internal)
|
PLAYER_STATE_PLAYBACK_ALL_LOOPS_COMPLETED
Player playback all loops completed
|
PLAYER_STATE_PLAYBACK_COMPLETED
Player playback one loop completed
|
PLAYER_STATE_PLAYING
Player playing
|
PLAYER_STATE_SEEKING_INTERNAL
Player seeking state (internal)
|
PLAYER_STATE_SET_TRACK_INTERNAL
Player set track state (internal)
|
PLAYER_STATE_STOPPED
The playback is stopped.
|
PLAYER_STATE_STOPPING_INTERNAL
Player stopping (internal)
|
PLAYER_STATE_UNKNOWN
Player unknown
|
Modifier and Type | Method and Description |
---|---|
static Constants.MediaPlayerState |
fromNativeIndex(int nativeIndex) |
static Constants.MediaPlayerState |
getStateByValue(int value) |
static int |
getValue(Constants.MediaPlayerState type) |
static Constants.MediaPlayerState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.MediaPlayerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.MediaPlayerState PLAYER_STATE_UNKNOWN
public static final Constants.MediaPlayerState PLAYER_STATE_IDLE
public static final Constants.MediaPlayerState PLAYER_STATE_OPENING
public static final Constants.MediaPlayerState PLAYER_STATE_OPEN_COMPLETED
public static final Constants.MediaPlayerState PLAYER_STATE_PLAYING
public static final Constants.MediaPlayerState PLAYER_STATE_PAUSED
public static final Constants.MediaPlayerState PLAYER_STATE_PLAYBACK_COMPLETED
public static final Constants.MediaPlayerState PLAYER_STATE_PLAYBACK_ALL_LOOPS_COMPLETED
public static final Constants.MediaPlayerState PLAYER_STATE_STOPPED
public static final Constants.MediaPlayerState PLAYER_STATE_PAUSING_INTERNAL
public static final Constants.MediaPlayerState PLAYER_STATE_STOPPING_INTERNAL
public static final Constants.MediaPlayerState PLAYER_STATE_SEEKING_INTERNAL
public static final Constants.MediaPlayerState PLAYER_STATE_GETTING_INTERNAL
public static final Constants.MediaPlayerState PLAYER_STATE_NONE_INTERNAL
public static final Constants.MediaPlayerState PLAYER_STATE_DO_NOTHING_INTERNAL
public static final Constants.MediaPlayerState PLAYER_STATE_SET_TRACK_INTERNAL
public static final Constants.MediaPlayerState PLAYER_STATE_FAILED
public static Constants.MediaPlayerState[] values()
for (Constants.MediaPlayerState c : Constants.MediaPlayerState.values()) System.out.println(c);
public static Constants.MediaPlayerState 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.MediaPlayerState type)
public static Constants.MediaPlayerState fromNativeIndex(int nativeIndex)
public static Constants.MediaPlayerState getStateByValue(int value)