public static class

SipSession.State

extends Object
java.lang.Object
   ↳android.net.sip.SipSession.State

Class Overview

Defines SIP session states, such as "registering", "outgoing call", and "in call".

Summary

Constants
intDEREGISTERINGWhen the unregistration request is sent out.
intINCOMING_CALLWhen an INVITE request is received.
intINCOMING_CALL_ANSWERINGWhen an OK response is sent for the INVITE request received.
intIN_CALLWhen a call is established.
intNOT_DEFINEDNot defined.
intOUTGOING_CALLWhen an INVITE request is sent.
intOUTGOING_CALL_CANCELINGWhen a CANCEL request is sent for the INVITE request sent.
intOUTGOING_CALL_RING_BACKWhen a RINGING response is received for the INVITE request sent.
intPINGINGWhen an OPTIONS request is sent.
intREADY_TO_CALLWhen session is ready to initiate a call or transaction.
intREGISTERINGWhen the registration request is sent out.
Public Methods
static String toString(int state)
Converts the state to string.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int DEREGISTERING

Since: API Level 9

When the unregistration request is sent out.

Constant Value: 2 (0x00000002)

public static final int INCOMING_CALL

Since: API Level 9

When an INVITE request is received.

Constant Value: 3 (0x00000003)

public static final int INCOMING_CALL_ANSWERING

Since: API Level 9

When an OK response is sent for the INVITE request received.

Constant Value: 4 (0x00000004)

public static final int IN_CALL

Since: API Level 9

When a call is established.

Constant Value: 8 (0x00000008)

public static final int NOT_DEFINED

Since: API Level 9

Not defined.

Constant Value: 101 (0x00000065)

public static final int OUTGOING_CALL

Since: API Level 9

When an INVITE request is sent.

Constant Value: 5 (0x00000005)

public static final int OUTGOING_CALL_CANCELING

Since: API Level 9

When a CANCEL request is sent for the INVITE request sent.

Constant Value: 7 (0x00000007)

public static final int OUTGOING_CALL_RING_BACK

Since: API Level 9

When a RINGING response is received for the INVITE request sent.

Constant Value: 6 (0x00000006)

public static final int PINGING

Since: API Level 9

When an OPTIONS request is sent.

Constant Value: 9 (0x00000009)

public static final int READY_TO_CALL

Since: API Level 9

When session is ready to initiate a call or transaction.

Constant Value: 0 (0x00000000)

public static final int REGISTERING

Since: API Level 9

When the registration request is sent out.

Constant Value: 1 (0x00000001)

Public Methods

public static String toString (int state)

Since: API Level 9

Converts the state to string.