|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<StateChangeReturn>
org.gstreamer.StateChangeReturn
public enum StateChangeReturn
The possible return values from a state change function.
Only FAILURE
is a real failure.
Enum Constant Summary | |
---|---|
ASYNC
The state change will happen asynchronously. |
|
FAILURE
The state change failed. |
|
NO_PREROLL
The state change succeeded but the Element cannot produce data in
State.PAUSED . |
|
SUCCESS
The state change succeeded. |
Method Summary | |
---|---|
static StateChangeReturn |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static StateChangeReturn[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final StateChangeReturn FAILURE
public static final StateChangeReturn SUCCESS
public static final StateChangeReturn ASYNC
public static final StateChangeReturn NO_PREROLL
Element
cannot produce data in
State.PAUSED
. This typically happens with live sources.
Method Detail |
---|
public static StateChangeReturn[] values()
for (StateChangeReturn c : StateChangeReturn.values()) System.out.println(c);
public static StateChangeReturn 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 name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |