public class CallState
extends java.lang.Object
CALL_INITIALIZATION -> CALL_IN_PROGRESS -> CALL_ENDED
When you start calling someone or receive a call alert, the call that is automatically created is in the CALL_INITIALIZATION_PHASE. As soon as one of the peers passes into a CONNECTED call peer state, the call would enter the CALL_IN_PROGRESS state. When the last call peer enters a DISCONNECTED state the call itself would go into the CALL_ENDED state and will be ready for garbage collection.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
_CALL_ENDED
This constant containing a String representation of the CALL_ENDED state.
|
static java.lang.String |
_CALL_IN_PROGRESS
This constant containing a String representation of the CALL_IN_PROGRESS
state.
|
static java.lang.String |
_CALL_INITIALIZATION
This constant containing a String representation of the
CALL_INITIALIZATION state.
|
static java.lang.String |
_CALL_REFERRED
This constant containing a String representation of the CALL_REFERED
state.
|
static CallState |
CALL_ENDED
This constant value indicates that the associated call is currently in a
terminated phase.
|
static CallState |
CALL_IN_PROGRESS
This constant value indicates that the associated call is currently in an
active state.
|
static CallState |
CALL_INITIALIZATION
This constant value indicates that the associated call is currently in an
initialization state.
|
static CallState |
CALL_REFERRED
This constant value indicates that the associated call is currently
referred.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getStateString()
Returns a String representation of this CallState.
|
java.lang.String |
toString()
Returns a string representation of this call state.
|
public static final java.lang.String _CALL_INITIALIZATION
This constant has the String value "Initializing".
public static final CallState CALL_INITIALIZATION
public static final java.lang.String _CALL_IN_PROGRESS
This constant has the String value "In Progress".
public static final CallState CALL_IN_PROGRESS
public static final java.lang.String _CALL_ENDED
This constant has the String value "Ended".
public static final CallState CALL_ENDED
public static final java.lang.String _CALL_REFERRED
This constant has the String value "Referred".
public static final CallState CALL_REFERRED
public java.lang.String getStateString()
public java.lang.String toString()
toString
in class java.lang.Object
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.