public static enum Call.State extends java.lang.Enum<Call.State>
Enum Constant | Description |
---|---|
Connected |
Connected.
|
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) |
End |
Call end.
|
Error |
Error.
|
Idle |
Initial state.
|
IncomingEarlyMedia |
We are proposing early media to an incoming call.
|
IncomingReceived |
Incoming call received.
|
OutgoingEarlyMedia |
Outgoing call early media.
|
OutgoingInit |
Outgoing call initialized.
|
OutgoingProgress |
Outgoing call in progress.
|
OutgoingRinging |
Outgoing call ringing.
|
Paused |
Paused.
|
PausedByRemote |
Paused by remote.
|
Pausing |
Pausing.
|
PushIncomingReceived |
PushIncoming call received.
|
Referred |
Referred.
|
Released |
The call object is now released.
|
Resuming |
Resuming.
|
StreamsRunning |
Streams running.
|
UpdatedByRemote |
The call's parameters are updated for example when video is asked by remote.
|
Updating |
We have initiated a call update.
|
Modifier and Type | Field | Description |
---|---|---|
protected int |
mValue |
Modifier and Type | Method | Description |
---|---|---|
static Call.State |
fromInt(int value) |
|
int |
toInt() |
|
static Call.State |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Call.State[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Call.State Idle
public static final Call.State IncomingReceived
public static final Call.State PushIncomingReceived
public static final Call.State OutgoingInit
public static final Call.State OutgoingProgress
public static final Call.State OutgoingRinging
public static final Call.State OutgoingEarlyMedia
public static final Call.State Connected
public static final Call.State StreamsRunning
public static final Call.State Pausing
public static final Call.State Paused
public static final Call.State Resuming
public static final Call.State Referred
public static final Call.State Error
public static final Call.State End
public static final Call.State PausedByRemote
public static final Call.State UpdatedByRemote
public static final Call.State IncomingEarlyMedia
public static final Call.State Updating
public static final Call.State Released
public static final Call.State EarlyUpdatedByRemote
public static final Call.State EarlyUpdating
public static Call.State[] values()
for (Call.State c : Call.State.values()) System.out.println(c);
public static Call.State 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 Call.State fromInt(int value) throws java.lang.RuntimeException
java.lang.RuntimeException
public int toInt()