Package org.linphone.core
Enum Class Call.State
- All Implemented Interfaces:
Serializable
,Comparable<Call.State>
,Constable
- Enclosing interface:
- Call
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionConnected.The call is updated by remote while not yet answered (SIP UPDATE in early
dialog received)
We are updating the call while not yet answered (SIP UPDATE in early dialog
sent)
Call end.Error.Initial state.We are proposing early media to an incoming call.Incoming call received.Outgoing call early media.Outgoing call initialized.Outgoing call in progress.Outgoing call ringing.Paused.Paused by remote.Pausing.PushIncoming call received.Referred.The call object is now released.Resuming.Streams running.The call's parameters are updated for example when video is asked by remote.We have initiated a call update. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Call.State
fromInt
(int value) int
toInt()
static Call.State
Returns the enum constant of this class with the specified name.static Call.State[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Idle
Initial state.
-
IncomingReceived
Incoming call received.
-
PushIncomingReceived
PushIncoming call received.
-
OutgoingInit
Outgoing call initialized.
-
OutgoingProgress
Outgoing call in progress.
-
OutgoingRinging
Outgoing call ringing.
-
OutgoingEarlyMedia
Outgoing call early media.
-
Connected
Connected.
-
StreamsRunning
Streams running.
-
Pausing
Pausing.
-
Paused
Paused.
-
Resuming
Resuming.
-
Referred
Referred.
-
Error
Error.
-
End
Call end.
-
PausedByRemote
Paused by remote.
-
UpdatedByRemote
The call's parameters are updated for example when video is asked by remote.
-
IncomingEarlyMedia
We are proposing early media to an incoming call.
-
Updating
We have initiated a call update.
-
Released
The call object is now released.
-
EarlyUpdatedByRemote
The call is updated by remote while not yet answered (SIP UPDATE in early
dialog received)
-
EarlyUpdating
We are updating the call while not yet answered (SIP UPDATE in early dialog
sent)
-
-
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()
-