Package org.linphone.core
Enum Class ParticipantDevice.State
- All Implemented Interfaces:
Serializable
,Comparable<ParticipantDevice.State>
,Constable
- Enclosing interface:
- ParticipantDevice
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription180 Ringing
an INVITE has been sent
A BYE is pending.The Session is terminated.Some medias have been muted by the focus.the SIP session has been concluded, participant is not media mixed
the SIP session has been concluded, participant is part of the conference
Initial state for the server group chatroom, when the participant has not yet
been INVITEd.Transitional state for a participant that will receive a BYE shortly. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ParticipantDevice.State
fromInt
(int value) int
toInt()
static ParticipantDevice.State
Returns the enum constant of this class with the specified name.static ParticipantDevice.State[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Joining
an INVITE has been sent
-
Present
the SIP session has been concluded, participant is part of the conference
-
Leaving
A BYE is pending.
-
Left
The Session is terminated.
-
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.
-
OnHold
the SIP session has been concluded, participant is not media mixed
-
Alerting
180 Ringing
-
MutedByFocus
Some medias have been muted by the focus.
-
-
Field Details
-
mValue
protected final int mValue
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
fromInt
- Throws:
RuntimeException
-
toInt
public int toInt()
-