|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MessageType>
org.gstreamer.MessageType
public enum MessageType
The different message types that are available.
Enum Constant Summary | |
---|---|
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. |
|
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. |
|
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. |
Method Summary | |
---|---|
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. |
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 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 ANY
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is nullpublic int intValue()
intValue
in interface org.gstreamer.lowlevel.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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |