State
classState
kotlin.Any | |
↳ | android.net.sip.SipSession.State |
Defines SIP session states, such as "registering", "outgoing call", and "in call".
Summary
Constants | |
---|---|
static Int |
When the unregistration request is sent out. |
static Int |
When an INVITE request is received. |
static Int |
When an OK response is sent for the INVITE request received. |
static Int |
When a call is established. |
static Int |
Not defined. |
static Int |
When an INVITE request is sent. |
static Int |
When a CANCEL request is sent for the INVITE request sent. |
static Int |
When a RINGING response is received for the INVITE request sent. |
static Int |
When an OPTIONS request is sent. |
static Int |
When session is ready to initiate a call or transaction. |
static Int |
When the registration request is sent out. |
Public methods | |
---|---|
open static String! |
Converts the state to string. |
Constants
DEREGISTERING
static valDEREGISTERING: Int
Deprecated: Deprecated in Java.
When the unregistration request is sent out.
Value: 2
INCOMING_CALL
static valINCOMING_CALL: Int
Deprecated: Deprecated in Java.
When an INVITE request is received.
Value: 3
INCOMING_CALL_ANSWERING
static valINCOMING_CALL_ANSWERING: Int
Deprecated: Deprecated in Java.
When an OK response is sent for the INVITE request received.
Value: 4
IN_CALL
static valIN_CALL: Int
Deprecated: Deprecated in Java.
When a call is established.
Value: 8
NOT_DEFINED
static valNOT_DEFINED: Int
Deprecated: Deprecated in Java.
Not defined.
Value: 101
OUTGOING_CALL
static valOUTGOING_CALL: Int
Deprecated: Deprecated in Java.
When an INVITE request is sent.
Value: 5
OUTGOING_CALL_CANCELING
static valOUTGOING_CALL_CANCELING: Int
Deprecated: Deprecated in Java.
When a CANCEL request is sent for the INVITE request sent.
Value: 7
OUTGOING_CALL_RING_BACK
static valOUTGOING_CALL_RING_BACK: Int
Deprecated: Deprecated in Java.
When a RINGING response is received for the INVITE request sent.
Value: 6
PINGING
static valPINGING: Int
Deprecated: Deprecated in Java.
When an OPTIONS request is sent.
Value: 9
READY_TO_CALL
static valREADY_TO_CALL: Int
Deprecated: Deprecated in Java.
When session is ready to initiate a call or transaction.
Value: 0
REGISTERING
static valREGISTERING: Int
Deprecated: Deprecated in Java.
When the registration request is sent out.
Value: 1
Public methods
toString
open static funtoString(state: Int): String!
Deprecated: Deprecated in Java.
Converts the state to string.