public enum EventType extends java.lang.Enum<EventType> implements IntegerEnum
The custom event types can be used for private messages between elements that can't be expressed using normal GStreamer buffer passing semantics.
Custom events carry an arbitrary Structure
. Specific custom events
are distinguished by the name of the structure.
Enum Constant and Description |
---|
BUFFERSIZE
Notification of buffering requirements
|
CUSTOM_BOTH
Custom upstream or downstream event.
|
CUSTOM_BOTH_OOB
Custom upstream or downstream out-of-band event.
|
CUSTOM_DOWNSTREAM
Downstream custom event that travels in the data flow.
|
CUSTOM_DOWNSTREAM_OOB
Custom out-of-band downstream event.
|
CUSTOM_UPSTREAM
Upstream custom event
|
EOS
End-Of-Stream.
|
FLUSH_START
Start a flush operation
|
FLUSH_STOP
Stop a flush operation
|
LATENCY
Notification of new latency adjustment
|
NAVIGATION
Navigation events are usually used for communicating user requests, such
as mouse or keyboard movements, to upstream elements.
|
NEWSEGMENT
A new media segment follows in the dataflow
|
QOS
A quality message.
|
SEEK
A request for a new playback position and rate.
|
TAG
A new set of metadata tags has been found in the stream
|
UNKNOWN
Unknown event
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Gets a human-readable name for this value
|
int |
intValue()
Gets the native value of this enum
|
static EventType |
valueOf(int type)
Gets the Enum for a native value
|
static EventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventType UNKNOWN
public static final EventType FLUSH_START
public static final EventType FLUSH_STOP
public static final EventType EOS
public static final EventType NEWSEGMENT
public static final EventType TAG
public static final EventType BUFFERSIZE
public static final EventType QOS
public static final EventType SEEK
public static final EventType NAVIGATION
public static final EventType LATENCY
public static final EventType CUSTOM_UPSTREAM
public static final EventType CUSTOM_DOWNSTREAM
public static final EventType CUSTOM_DOWNSTREAM_OOB
public static final EventType CUSTOM_BOTH
public static final EventType CUSTOM_BOTH_OOB
public static EventType[] values()
for (EventType c : EventType.values()) System.out.println(c);
public static EventType 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 int intValue()
intValue
in interface IntegerEnum
public java.lang.String getName()
public static final EventType valueOf(int type)