org.gstreamer
Enum FlowReturn

java.lang.Object
  extended by java.lang.Enum<FlowReturn>
      extended by org.gstreamer.FlowReturn
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FlowReturn>, IntegerEnum

public enum FlowReturn
extends java.lang.Enum<FlowReturn>
implements IntegerEnum

The result of passing data to a pad.


Enum Constant Summary
__UNKNOWN_NATIVE_VALUE
          The default enum value used when no other value matches the native value
ERROR
          Some (fatal) error occured.
NOT_LINKED
          Pad is not linked.
NOT_NEGOTIATED
          Pad is in not negotiated.
NOT_SUPPORTED
          This operation is not supported.
OK
          Data passing was ok.
RESEND
          Resend buffer, possibly with new caps (not send yet).
UNEXPECTED
          Did not expect anything, like after EOS.
WRONG_STATE
          Pad is in wrong state.
 
Method Summary
 int intValue()
          Gets the integer value of the enum.
static FlowReturn valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FlowReturn[] 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

RESEND

public static final FlowReturn RESEND
Resend buffer, possibly with new caps (not send yet).


OK

public static final FlowReturn OK
Data passing was ok.


NOT_LINKED

public static final FlowReturn NOT_LINKED
Pad is not linked.


WRONG_STATE

public static final FlowReturn WRONG_STATE
Pad is in wrong state.


UNEXPECTED

public static final FlowReturn UNEXPECTED
Did not expect anything, like after EOS.


NOT_NEGOTIATED

public static final FlowReturn NOT_NEGOTIATED
Pad is in not negotiated.


ERROR

public static final FlowReturn ERROR
Some (fatal) error occured. Element generating this error should post an error message with more details.


NOT_SUPPORTED

public static final FlowReturn NOT_SUPPORTED
This operation is not supported.


__UNKNOWN_NATIVE_VALUE

public static final FlowReturn __UNKNOWN_NATIVE_VALUE
The default enum value used when no other value matches the native value

Method Detail

values

public static FlowReturn[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (FlowReturn c : FlowReturn.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static FlowReturn valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

intValue

public int intValue()
Gets the integer value of the enum.

Specified by:
intValue in interface IntegerEnum
Returns:
The integer value for this enum.