public enum ParticipantDeviceState extends java.lang.Enum<ParticipantDeviceState>
Enum Constant | Description |
---|---|
Alerting |
180 Ringing
|
Joining |
an INVITE has been sent
|
Leaving |
A BYE is pending.
|
Left |
The Session is terminated.
|
MutedByFocus |
Some medias have been muted by the focus.
|
OnHold |
the SIP session has been concluded, participant is not media mixed
|
Present |
the SIP session has been concluded, participant is part of the conference
|
ScheduledForJoining |
Initial state for the server group chatroom, when the participant has not yet
been INVITEd. |
ScheduledForLeaving |
Transitional state for a participant that will receive a BYE shortly.
|
Modifier and Type | Field | Description |
---|---|---|
protected int |
mValue |
Modifier and Type | Method | Description |
---|---|---|
static ParticipantDeviceState |
fromInt(int value) |
|
protected static ParticipantDeviceState[] |
fromIntArray(int[] values) |
|
int |
toInt() |
|
protected static int[] |
toIntArray(ParticipantDeviceState[] values) |
|
static ParticipantDeviceState |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ParticipantDeviceState[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParticipantDeviceState Joining
public static final ParticipantDeviceState Present
public static final ParticipantDeviceState Leaving
public static final ParticipantDeviceState Left
public static final ParticipantDeviceState ScheduledForJoining
public static final ParticipantDeviceState ScheduledForLeaving
public static final ParticipantDeviceState OnHold
public static final ParticipantDeviceState Alerting
public static final ParticipantDeviceState MutedByFocus
public static ParticipantDeviceState[] values()
for (ParticipantDeviceState c : ParticipantDeviceState.values()) System.out.println(c);
public static ParticipantDeviceState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ParticipantDeviceState fromInt(int value) throws java.lang.RuntimeException
java.lang.RuntimeException
protected static ParticipantDeviceState[] fromIntArray(int[] values) throws java.lang.RuntimeException
java.lang.RuntimeException
protected static int[] toIntArray(ParticipantDeviceState[] values) throws java.lang.RuntimeException
java.lang.RuntimeException
public int toInt()