Package org.kurento.client
Enum IceComponentState
- java.lang.Object
-
- java.lang.Enum<IceComponentState>
-
- org.kurento.client.IceComponentState
-
- All Implemented Interfaces:
Serializable
,Comparable<IceComponentState>
public enum IceComponentState extends Enum<IceComponentState>
States of an ICE component.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONNECTED
CONNECTING
DISCONNECTED
FAILED
GATHERING
READY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IceComponentState
valueOf(String name)
Returns the enum constant of this type with the specified name.static IceComponentState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISCONNECTED
public static final IceComponentState DISCONNECTED
-
GATHERING
public static final IceComponentState GATHERING
-
CONNECTING
public static final IceComponentState CONNECTING
-
CONNECTED
public static final IceComponentState CONNECTED
-
READY
public static final IceComponentState READY
-
FAILED
public static final IceComponentState FAILED
-
-
Method Detail
-
values
public static IceComponentState[] 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 (IceComponentState c : IceComponentState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IceComponentState valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-