Package tvi.webrtc
Enum PeerConnection.IceConnectionState
- java.lang.Object
-
- java.lang.Enum<PeerConnection.IceConnectionState>
-
- tvi.webrtc.PeerConnection.IceConnectionState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PeerConnection.IceConnectionState>
- Enclosing class:
- PeerConnection
public static enum PeerConnection.IceConnectionState extends java.lang.Enum<PeerConnection.IceConnectionState>
Tracks PeerConnectionInterface::IceConnectionState
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PeerConnection.IceConnectionState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PeerConnection.IceConnectionState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEW
public static final PeerConnection.IceConnectionState NEW
-
CHECKING
public static final PeerConnection.IceConnectionState CHECKING
-
CONNECTED
public static final PeerConnection.IceConnectionState CONNECTED
-
COMPLETED
public static final PeerConnection.IceConnectionState COMPLETED
-
FAILED
public static final PeerConnection.IceConnectionState FAILED
-
DISCONNECTED
public static final PeerConnection.IceConnectionState DISCONNECTED
-
CLOSED
public static final PeerConnection.IceConnectionState CLOSED
-
-
Method Detail
-
values
public static PeerConnection.IceConnectionState[] 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 (PeerConnection.IceConnectionState c : PeerConnection.IceConnectionState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PeerConnection.IceConnectionState 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 namejava.lang.NullPointerException
- if the argument is null
-
-