public
static
class
SipSession.State
extends Object
java.lang.Object | |
↳ | android.net.sip.SipSession.State |
Defines SIP session states, such as "registering", "outgoing call", and "in call".
Constants | |
---|---|
int |
DEREGISTERING
When the unregistration request is sent out. |
int |
INCOMING_CALL
When an INVITE request is received. |
int |
INCOMING_CALL_ANSWERING
When an OK response is sent for the INVITE request received. |
int |
IN_CALL
When a call is established. |
int |
NOT_DEFINED
Not defined. |
int |
OUTGOING_CALL
When an INVITE request is sent. |
int |
OUTGOING_CALL_CANCELING
When a CANCEL request is sent for the INVITE request sent. |
int |
OUTGOING_CALL_RING_BACK
When a RINGING response is received for the INVITE request sent. |
int |
PINGING
When an OPTIONS request is sent. |
int |
READY_TO_CALL
When session is ready to initiate a call or transaction. |
int |
REGISTERING
When the registration request is sent out. |
Public methods | |
---|---|
static
String
|
toString(int state)
Converts the state to string. |
Inherited methods | |
---|---|
From
class
java.lang.Object
|
int DEREGISTERING
When the unregistration request is sent out.
Constant Value: 2 (0x00000002)
int INCOMING_CALL
When an INVITE request is received.
Constant Value: 3 (0x00000003)
int INCOMING_CALL_ANSWERING
When an OK response is sent for the INVITE request received.
Constant Value: 4 (0x00000004)
int OUTGOING_CALL
When an INVITE request is sent.
Constant Value: 5 (0x00000005)
int OUTGOING_CALL_CANCELING
When a CANCEL request is sent for the INVITE request sent.
Constant Value: 7 (0x00000007)
int OUTGOING_CALL_RING_BACK
When a RINGING response is received for the INVITE request sent.
Constant Value: 6 (0x00000006)
int PINGING
When an OPTIONS request is sent.
Constant Value: 9 (0x00000009)
int READY_TO_CALL
When session is ready to initiate a call or transaction.
Constant Value: 0 (0x00000000)
int REGISTERING
When the registration request is sent out.
Constant Value: 1 (0x00000001)
String toString (int state)
Converts the state to string.
Parameters | |
---|---|
state |
int
|
Returns | |
---|---|
String |