pl.mbdev.openstage
Enum IppPlayer.State

java.lang.Object
  extended by java.lang.Enum<IppPlayer.State>
      extended by pl.mbdev.openstage.IppPlayer.State
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IppPlayer.State>
Enclosing class:
IppPlayer

public static enum IppPlayer.State
extends java.lang.Enum<IppPlayer.State>

Defines possible states of the IppPlayer.

Author:
Mateusz Bysiek

Enum Constant Summary
PLAYING
          The player is in playing state.
RECORDING
          The player is in recording state.
STOPPED
          The player is in stopped state.
 
Method Summary
static IppPlayer.State valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IppPlayer.State[] 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

PLAYING

public static final IppPlayer.State PLAYING
The player is in playing state.


STOPPED

public static final IppPlayer.State STOPPED
The player is in stopped state.


RECORDING

public static final IppPlayer.State RECORDING
The player is in recording state. The player can be in this state only when it is in RECORD mode.

Method Detail

values

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

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

valueOf

public static IppPlayer.State 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