Enum ParticipantState
- Object
-
- Enum<ParticipantState>
-
- ParticipantState
-
- All Implemented Interfaces:
Serializable
,Comparable<ParticipantState>
public enum ParticipantState extends Enum<ParticipantState>
State of a participant in the call
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONNECTED
ConnectedCONNECTING
ConnectingDISCONNECTED
DisconnectedEARLY_MEDIA
Early MediaHOLD
On HoldIDLE
IdleIN_LOBBY
In LobbyRINGING
Ringing
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ParticipantState
valueOf(String name)
Returns the enum constant of this type with the specified name.static ParticipantState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IDLE
public static final ParticipantState IDLE
Idle
-
EARLY_MEDIA
public static final ParticipantState EARLY_MEDIA
Early Media
-
CONNECTING
public static final ParticipantState CONNECTING
Connecting
-
CONNECTED
public static final ParticipantState CONNECTED
Connected
-
HOLD
public static final ParticipantState HOLD
On Hold
-
IN_LOBBY
public static final ParticipantState IN_LOBBY
In Lobby
-
DISCONNECTED
public static final ParticipantState DISCONNECTED
Disconnected
-
RINGING
public static final ParticipantState RINGING
Ringing
-
-
Method Detail
-
values
public static ParticipantState[] 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 (ParticipantState c : ParticipantState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ParticipantState 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
-
-