org.gstreamer
Enum ClockReturn

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

public enum ClockReturn
extends java.lang.Enum<ClockReturn>

The return value of a clock operation.


Enum Constant Summary
BADTIME
          A bad time was provided to a function.
BUSY
          The ClockID is busy
EARLY
          The operation was scheduled too late.
ERROR
          An error occured
OK
          The operation succeded.
UNSCHEDULED
          The clockID was unscheduled
UNSUPPORTED
          Operation is not supported
 
Method Summary
static ClockReturn valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ClockReturn[] 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

OK

public static final ClockReturn OK
The operation succeded.


EARLY

public static final ClockReturn EARLY
The operation was scheduled too late.


UNSCHEDULED

public static final ClockReturn UNSCHEDULED
The clockID was unscheduled


BUSY

public static final ClockReturn BUSY
The ClockID is busy


BADTIME

public static final ClockReturn BADTIME
A bad time was provided to a function.


ERROR

public static final ClockReturn ERROR
An error occured


UNSUPPORTED

public static final ClockReturn UNSUPPORTED
Operation is not supported

Method Detail

values

public static ClockReturn[] 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 (ClockReturn c : ClockReturn.values())
    System.out.println(c);

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

valueOf

public static ClockReturn 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