public enum MessageType extends java.lang.Enum<MessageType> implements IntegerEnum
Enum Constant and Description |
---|
ANY |
APPLICATION
Message posted by the application, possibly via an application-specific element.
|
ASYNC_DONE
Posted by elements when they complete an ASYNC state change.
|
ASYNC_START
Posted by elements when they start an ASYNC state
change.
|
BUFFERING
The pipeline is buffering.
|
CLOCK_LOST
The current clock as selected by the pipeline became unusable.
|
CLOCK_PROVIDE
an element notifies its capability of providing a clock.
|
DURATION
The duration of a pipeline changed.
|
ELEMENT
Element specific message, see the specific element's documentation
|
EOS
end-of-stream reached in a pipeline.
|
ERROR
An error occured.
|
INFO
An info message occured.
|
LATENCY
Posted by elements when their latency changes.
|
NEW_CLOCK
A new clock was selected in the pipeline.
|
QOS
A buffer was dropped or an element changed its processing strategy for
Quality of Service reasons.
|
REQUEST_STATE
Posted by elements when they want the pipeline to change state.
|
SEGMENT_DONE
Pipeline completed playback of a segment.
|
SEGMENT_START
Pipeline started playback of a segment.
|
STATE_CHANGED
A state change happened
|
STATE_DIRTY
an element changed state in a streaming thread.
|
STEP_DONE
a framestep finished.
|
STEP_START
A stepping operation was started.
|
STREAM_STATUS
Status about a stream, emitted when it starts, stops, errors, etc..
|
STRUCTURE_CHANGE
The structure of the pipeline changed.
|
TAG
A tag was found.
|
UNKNOWN
An undefined message
|
WARNING
A warning occured.
|
Modifier and Type | Method and Description |
---|---|
static MessageType |
forName(java.lang.String name)
Gets a MessageType that corresponds to the name
|
java.lang.String |
getName()
Gets the name of this message type.
|
int |
intValue()
Gets the native integer value for this type.
|
static MessageType |
valueOf(int type)
Gets a MessageType that corresponds to the native integer value.
|
static MessageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageType UNKNOWN
public static final MessageType EOS
public static final MessageType ERROR
public static final MessageType WARNING
public static final MessageType INFO
public static final MessageType TAG
public static final MessageType BUFFERING
public static final MessageType STATE_CHANGED
public static final MessageType STATE_DIRTY
public static final MessageType STEP_DONE
public static final MessageType CLOCK_PROVIDE
public static final MessageType CLOCK_LOST
public static final MessageType NEW_CLOCK
public static final MessageType STRUCTURE_CHANGE
public static final MessageType STREAM_STATUS
public static final MessageType APPLICATION
public static final MessageType ELEMENT
public static final MessageType SEGMENT_START
public static final MessageType SEGMENT_DONE
SEGMENT_START
have posted a SEGMENT_DONE message.public static final MessageType DURATION
public static final MessageType LATENCY
public static final MessageType ASYNC_START
public static final MessageType ASYNC_DONE
public static final MessageType REQUEST_STATE
public static final MessageType STEP_START
public static final MessageType QOS
public static final MessageType ANY
public static MessageType[] values()
for (MessageType c : MessageType.values()) System.out.println(c);
public static MessageType 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 MessageType valueOf(int type)
type
- the native value of the type.public static final MessageType forName(java.lang.String name)
name
- the gstreamer name of the type.