|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Format>
org.gstreamer.Format
public enum Format
Standard predefined formats.
Enum Constant Summary | |
---|---|
__UNKNOWN_NATIVE_VALUE
The default enum value used when no other value matches the native value |
|
BUFFERS
Buffer s |
|
BYTES
bytes |
|
DEFAULT
The default format of the pad/element. |
|
PERCENT
Percentage of stream |
|
TIME
Time in nanoseconds |
|
UNDEFINED
Undefined format |
Field Summary | |
---|---|
int |
value
|
Method Summary | |
---|---|
int |
intValue()
Gets the integer value of the enum. |
static Format |
valueOf(int format)
Returns the enum constant of this type with the specified integer value. |
static Format |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Format[] |
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 Format UNDEFINED
public static final Format DEFAULT
public static final Format BYTES
public static final Format TIME
public static final Format BUFFERS
Buffer
s
public static final Format PERCENT
public static final Format __UNKNOWN_NATIVE_VALUE
Field Detail |
---|
public final int value
Method Detail |
---|
public static Format[] values()
for (Format c : Format.values()) System.out.println(c);
public static Format 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 nullpublic final int intValue()
intValue
in interface org.gstreamer.lowlevel.IntegerEnum
public static final Format valueOf(int format)
format
- integer value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |